text-overflow-string-001.html (842B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: text-overflow - string</title> 4 <link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4"> 6 <link rel="match" href="reference/text-overflow-string-001-ref.html"> 7 <meta name="assert" content="Test checks that an string is shown instead of overflowing textual content"> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 9 <style> 10 div { 11 font-size: 10px; 12 overflow: hidden; 13 text-overflow: "123"; 14 width: 150px; 15 } 16 span { 17 font-family: Ahem; 18 font-size: 30px; 19 } 20 </style> 21 <body> 22 <p>Test passes if there is an <strong>123</strong> after a black rectangle below.</p> 23 <div> 24 <span>TestChecksThatTheBrokenContentRepalcedBy123</span> 25 </div> 26 </body>