summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/generated-content/content-white-space-002-ref.html
blob: 62b54e2d859d8bf68f82fdab5dce44d8852ef320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
    div {
        border: solid silver;
        margin: 0.5em;
        padding: 0.2em;
        color: blue;
        white-space: pre;
    }
</style>
<body>
    <p>Test passes if the contents of the two silver boxes are identical.</p>
    <div>This text
        should be on
        four
        lines.</div>
    <div>This text
        should be on
        four
        lines.</div>
</body>