summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html
blob: cab555640698e3bcbb602e96e6eccb7e034db154 (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
<!DOCTYPE html>
<meta charset=utf-8>

<title>CSS Text reference</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">

<style>
p {
  width: fit-content;
  border: 2px solid green;
  font: 24px monospace;
}
</style>

<body>
</body>

<script>
for (i = 0x200b; i <= 0x200f; ++i) {
  txt = "This should have no leading or trailing ["
    + i.toString(16)
    + "]";
  p = document.createElement("p");
  p.textContent = txt;
  document.body.appendChild(p);
}
</script>