| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>CSS Basic User Interface Test: text-overflow - string - clip ellipsis when space is insufficient</title> |
| <link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com"> |
| <link rel="help" href="https://drafts.csswg.org/css-overflow-4"> |
| <link rel="match" href="reference/text-overflow-string-002-ref.html"> |
| <meta name="assert" content="Test checks when there is insufficient space for the ellipsis"> |
| <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> |
| <style> |
| div { |
| font-family: Ahem; |
| font-size: 10px; |
| } |
| span { |
| font-family: Ahem; |
| font-size: 30px; |
| } |
| .test { |
| overflow: hidden; |
| text-overflow: "123456789"; |
| width: 50px; |
| } |
| </style> |
| <body> |
| <p>Test passes if the two blocks are the same</p> |
| <div class="test"> |
| <span>TestChecksThatTheBrokenContentRepalcedBy12</span> |
| </div> |
| <br/> |
| <div> |
| <span>T</span>12 |
| </div> |
| </body> |