summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-002-ref.html
blob: 0971868116fcd7c5fed8801de1caf71aa8ad3ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<meta charset=utf-8>
<title>CSS test Reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
  font-size: 20px;
  font-family: Ahem;
  line-height: 1em;
  white-space: pre-wrap;
}
#test { color: orange; }
#ref { color: blue; }
</style>

<p>This test passes if the orange blocks below are vertically aligned with the blue ones.

<div id=test>X  X  X  X</div>
<div id=ref>X  X  X  X</div>