text-overflow-024-ref.html (641B)
1 <!DOCTYPE HTML> 2 <!-- 3 Any copyright is dedicated to the Public Domain. 4 http://creativecommons.org/publicdomain/zero/1.0/ 5 --> 6 <html><head> 7 <meta charset="utf-8"> 8 <title>Reference: text-overflow on tr::before with overflow:hidden</title> 9 <style type="text/css"> 10 11 td { 12 overflow: hidden; 13 white-space: nowrap; 14 text-overflow: ellipsis; 15 } 16 17 </style> 18 </head> 19 <body> 20 PASS if there is an ellipsis at the end of the text below. 21 <table style="table-layout: fixed; width: 130px" cellpadding="0" cellspacing="0"> 22 <tr><td>Some long text here that overflows and whatnot.</td></tr> 23 </table> 24 25 </body> 26 </html>