testing/web-platform/tests/css/css-text/line-breaking/line-breaking-002.html
author Sandor Molnar <smolnar@mozilla.com>
Fri, 11 Jul 2025 19:57:29 +0300 (12 hours ago)
changeset 796221 8ba6984a5604ac7dcf50325b1a0ebadf9e305d22
parent 479671 301063b1afcdeb135889a43606608277979dc60c
permissions -rw-r--r--
Revert "Bug 1972411 - give gnome-shell and pipewire more time to start, and retry the task if we time out. r=jmaher" for causing linux perma failures This reverts commit 2b905fe7199c9210434f7c7f8326b57025c91c55. Revert "Bug 1972411 - make /builds/worker/fetches a volume in the test docker image. r=releng-reviewers,Eijebong" This reverts commit 9d15aecaf6a08b98d3c47f2d0e644e35341b2520.
<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — line breaking sanity check</title>
<meta name=assert content="sanity check: an unstyled span should not affect line breaking">
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
<link rel=match href="reference/line-breaking-001-ref.html">
<link rel=author title="Florian Rivoal" href="http://florian.rivoal.net">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
    color:green;
    width: 1em;
    line-height: 1em;
    font-family: Ahem;
    white-space: normal;
    font-size: 20px;
}
.container {
    position: relative;
}
.fail {
    color: red;
    position: absolute;
    left: 0;
    top: 1em;
    z-index: -1;
}
</style>
<body>
    <p>There should be a green rectangle and no red.</p>
    <div class=container>
        <div><span>X&#x200B;</span>X</div>
        <div class=fail>X</div>
    </div>
</body>
</html>