summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-034-ref.html
blob: b920bdb111274bac29825e53b68005e1bf7ad6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reference Test</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <style>
  div
    {
      border: black solid 2px;
      font-family: monospace;
      font-size: 32px;
      margin-bottom: 0.25em;
      width: 16ch;
    }
  </style>

  <body>

  <p>Test passes if the characters inside of each black-bordered rectangles are laid out identically.

  <div>Lorem ipsum.&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;Dolor<br>
&nbsp;&nbsp;&nbsp;sit&nbsp;&nbsp;amet.</div>

  <div>Lorem ipsum.&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;Dolor<br>
&nbsp;&nbsp;&nbsp;sit&nbsp;&nbsp;amet.</div>