summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-014-ref.html
blob: 29f69dc1421a0c483a57c4c9387d4951a970fd25 (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&#x0020;<br>XXXX&#x0020;</span></div>