summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/generated-content/content-white-space-001-ref.html
blob: cbc297ec131292c6f592d79a7995324c8ffec6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
    div {
        border: solid green;
        width: 25em;
    }
    #test {
    	border: solid blue;
    }
</style>
<body>
    <p>Test passes if the text in the green box and the blue box have the same spacing between words and the lines wrap at the same point.</p>
    <div>This text<br />should be on two lines.</div>
    <div id="test">This text<br />should be on two lines.</div>
</body>