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