OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Basic User Interface Test: text-overflow - ellipsis - the broken text
ual content instead of ellipsis</title> |
| 4 <link rel="author" title="Intel" href="http://www.intel.com/"> |
| 5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com"> |
| 6 <link rel="help" title="8.2. Overflow Ellipsis: the 'text-overflow' property" hr
ef="http://www.w3.org/TR/css3-ui/#text-overflow"> |
| 7 <link rel="match" href="reference/text-overflow-002-ref.html"> |
| 8 <meta name="flags" content=""> |
| 9 <meta name="assert" content="Test checks that an ellipsis (...) is shown instead
of overflowing textual content"> |
| 10 <style> |
| 11 div { |
| 12 font-size: 10px; |
| 13 overflow: hidden; |
| 14 text-overflow: ellipsis; |
| 15 width: 150px; |
| 16 } |
| 17 span { |
| 18 font-family: Ahem; |
| 19 font-size: 30px; |
| 20 } |
| 21 </style> |
| 22 <body> |
| 23 <p>PREREQUISITE: The font used must have a glyph for the U+2026 character.</p> |
| 24 <p>Test passes if there is an <strong>ellipsis</strong> after a black rectangl
e below.</p> |
| 25 <div> |
| 26 <span>TestChecksThatTheBrokenContentRepalcedByEllipsis</span> |
| 27 </div> |
| 28 </body> |
OLD | NEW |