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