text-overflow-028.html (845B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: text-overflow applies visually to bidi</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 5 <link rel="help" href="http://www.w3.org/TR/css-ui-3/#text-overflow"> 6 <link rel="help" href="http://www.w3.org/TR/css-ui-4/#text-overflow"> 7 <link rel="match" href="reference/text-overflow-028-ref.html"> 8 <meta name="assert" content="text-overflow is a visual operation that occurs after layout, and therfore ellides text from the visual end of the line, even in bidi situations"> 9 <style> 10 div { 11 font-family: monospace; 12 width: 10ch; 13 overflow: hidden; 14 text-overflow: ellipsis; 15 white-space: pre; 16 } 17 </style> 18 19 <p>The test passes if the following text is visible below: …56 FEDCBA</p> 20 <div dir=rtl><bdo dir=rtl>ABCDEF</bdo> 123456</div>