OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <title>CSS Basic User Interface Test: text-overflow - ellipsis</title> |
| 4 <link rel="author" title="YreenChan" href="mailto:yreenchan@gmail.com"> |
| 5 <link rel="reviewer" title="Simon Pieters" href="mailto:simonp@opera.com"> |
| 6 <link rel="reviewer" title="Leif Arne Storset" href="mailto:lstorset@opera.c
om"> |
| 7 <link rel="help" href="http://www.w3.org/TR/css3-ui/#text-overflow" title="8
.2. the 'text-overflow' property"> |
| 8 <link rel="match" href="text-overflow-ref.html"> |
| 9 <meta name="flags" content="font ahem"> |
| 10 <meta name="assert" content="'text-overflow:ellipsis' renders U+2026 when te
xt is overflowing."> |
| 11 <style> |
| 12 div { |
| 13 font-size:10px; |
| 14 overflow: hidden; |
| 15 text-overflow: ellipsis; |
| 16 white-space: nowrap; |
| 17 width: 50px; |
| 18 } |
| 19 span { font-family: Ahem; font-size:30px; } |
| 20 </style> |
| 21 <body> |
| 22 <p>PREREQUISITE: The font used must have a glyph for the U+2026 characte
r.</p> |
| 23 <p>Test passes if there is <strong>ellipsis</strong> after a black squar
e.</p> |
| 24 <div> |
| 25 <span>AAAA</span> |
| 26 </div> |
| 27 </body> |
| 28 </html> |
OLD | NEW |