summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-002-ref.html
blob: cd228e234cdfbef4a565f97f93a84c1145be3f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<meta charset=utf-8>
<title>CSS Text reference</title>

<style>
div {
  border: 1px solid gray;
  font: 22px monospace;
  width: 22ch;
  margin: 1em;
}
.ref {
  white-space: normal;
  text-align: justify;
}
</style>

<p>Test passes if the two blocks are rendered identically</p>

<div class=ref>one two&nbsp; three &nbsp; four five six seven eight nine &nbsp; ten</div>

<div class=ref>one two&nbsp; three &nbsp; four five six seven eight nine &nbsp; ten</div>