OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
| 3 @font-face { |
| 4 font-family: Ahem; |
| 5 src: url('../../../resources/Ahem.woff2') format('woff2'); |
| 6 } |
3 body { | 7 body { |
4 font: 10px Ahem; | 8 font: 10px Ahem; |
5 } | 9 } |
6 .title { | 10 .title { |
7 font: 12px Times; | 11 font: 12px Times; |
8 } | 12 } |
9 </style> | 13 </style> |
10 <p class="title"> The single tab should be on the second line followed by the C.
The tab and the C form a single word so do not break.</p> | 14 <p class="title"> The single tab should be on the second line followed by the C.
The tab and the C form a single word so do not break.</p> |
11 <div> | 15 <div> |
12 <p class="test">A B<br><span style="white-space:pre"> </span>C</p> | 16 <p class="test">A B<br><span style="white-space:pre"> </span>C</p> |
(...skipping 12 matching lines...) Expand all Loading... |
25 <p class="test">A B<br><span style="white-space:pre"> </span><br>C</p> | 29 <p class="test">A B<br><span style="white-space:pre"> </span><br>C</p> |
26 </div> | 30 </div> |
27 <p class="title"> The two tabs should be on the second line by themselves. The d
iv allows breaking within words but it cannot split the two tabs inside a pre.</
p> | 31 <p class="title"> The two tabs should be on the second line by themselves. The d
iv allows breaking within words but it cannot split the two tabs inside a pre.</
p> |
28 <div> | 32 <div> |
29 <p class="test">A B<br><span style="white-space:pre"> </span><
br>C</p> | 33 <p class="test">A B<br><span style="white-space:pre"> </span><
br>C</p> |
30 </div> | 34 </div> |
31 <p class="title"> The two tabs should fit on the first line. The div allows bre
aking within words but it cannot split the two tabs inside a pre. The line can b
reak at the space before the C.</p> | 35 <p class="title"> The two tabs should fit on the first line. The div allows bre
aking within words but it cannot split the two tabs inside a pre. The line can b
reak at the space before the C.</p> |
32 <div> | 36 <div> |
33 <p class="test">A B<span style="white-space:pre"> </span><br>C</p> | 37 <p class="test">A B<span style="white-space:pre"> </span><br>C</p> |
34 </div> | 38 </div> |
| 39 <script> |
| 40 if (window.testRunner) { |
| 41 testRunner.waitUntilDone(); |
| 42 window.onload = function () { |
| 43 document.fonts.ready.then(function () { testRunner.notifyDone(); }); |
| 44 }; |
| 45 } |
| 46 </script> |
OLD | NEW |