summaryrefslogtreecommitdiffstats
path: root/layout/reftests/line-breaking/non-breakable-1-ref.html
blob: b8a1fb87b8ab71cc9cf76d5b449a8add3962aa87 (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
31
32
33
34
35
36
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css"> p { margin: 5px 1em; width: 0; white-space: nowrap; } p > span { background-color: silver; } </style>
</head>
<body>

<p>abcdef&nbsp;abcdef</p>
<p>abcdef)&nbsp;(abcdef</p>
<p>abcdef<br>&nbsp;abcdef</p>
<p><span>abcdef&nbsp;<br>abcdef</span></p>
<p>abcdef&nbsp;&nbsp;&nbsp;abcdef</p>

<!-- U+2007 is FIGURE SPACE -->
<p>abcdef&#x2007;abcdef</p>
<p>abcdef)&#x2007;(abcdef</p>
<p>abcdef<br>&#x2007;abcdef</p>
<p><span>abcdef&#x2007;<br>abcdef</span></p>
<p>abcdef&#x2007;&#x2007;&#x2007;abcdef</p>

<!-- U+2011 is NON-BREAKING HYPHEN -->
<p>abcdef&#x2011;abcdef</p>
<p>abcdef)&#x2011;(abcdef</p>
<p>abcdef<br>&#x2011;abcdef</p>
<p>abcdef&#x2011;<br>abcdef</p>
<p>abcdef&#x2011;&#x2011;&#x2011;abcdef</p>

<!-- U+202F is NARROW NO-BREAK SPACE -->
<p>abcdef&#x202F;abcdef</p>
<p>abcdef)&#x202F;(abcdef</p>
<p>abcdef<br>&#x202F;abcdef</p>
<p><span>abcdef&#x202F;<br>abcdef</span></p>
<p>abcdef&#x202F;&#x202F;&#x202F;abcdef</p>

</body>
</html>