OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <style> | |
3 #tests p { -webkit-line-box-contain: glyphs; line-box-contain: glyphs; overflow:
hidden; } | |
4 </style> | |
5 | |
6 <p>None of these should have clipped text.</p> | |
7 | |
8 <!-- | |
9 Ideally, this would be a ref test, but some clipping remains. | |
10 --> | |
11 <div id="tests"> | |
12 <p style="font-size: 12px">Lorem ipsum dolor sit amet.</p> | |
13 <p style="font-size: 13px">Lorem ipsum dolor sit amet.</p> | |
14 <p style="font-size: 14px">Lorem ipsum dolor sit amet.</p> | |
15 <p style="font-size: 15px">Lorem ipsum dolor sit amet.</p> | |
16 <p style="font-size: 16px">Lorem ipsum dolor sit amet.</p> | |
17 <p style="font-size: 17px">Lorem ipsum dolor sit amet.</p> | |
18 | |
19 <!-- É is particularly tall. --> | |
20 <p style="font-size: 12px">États-Unis.</p> | |
21 <p style="font-size: 13px">États-Unis.</p> | |
22 <p style="font-size: 14px">États-Unis.</p> | |
23 <p style="font-size: 15px">États-Unis.</p> | |
24 <p style="font-size: 16px">États-Unis.</p> | |
25 <p style="font-size: 17px">États-Unis.</p> | |
26 </div> | |
OLD | NEW |