summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-004-ref.html
blob: be487e6f3c63edc66be5f0332670b2041a14b174 (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 Text reference</title>

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

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

<div class=ref>,one, two, three<br>four, five, six, !seven, eight, nine</div>

<div class=ref>,one, two, three<br>four, five, six, !seven, eight, nine</div>