summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-alt-014-ref.html
blob: 0df3b9f7389dfe532587dfdda8bd4b24b1c2a6dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<meta charset=utf-8>
<title>CSS test Reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
    div {
        font: 20px/1 Ahem;
        white-space: pre;
    }
    span { background: blue; }
</style>

<p>This test passes if the line is broken after the 2nd white space, which hangs (blue).
<div>XX&#x0020;<span>X<br>XXXX</span></div>