tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-overflow-025.html (920B)


      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>Test: text-overflow on tr::before without overflow:hidden</title>
      9  <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
     10  <link rel="help" href="https://www.w3.org/TR/css3-ui/#text-overflow" title="5.2. the 'text-overflow' property">
     11  <link rel="match" href="text-overflow-025-ref.html">
     12  <style type="text/css">
     13 
     14    tr::before {
     15      content: "Some long text here that overflows and whatnot.";
     16      display: table-cell;
     17      white-space: nowrap;
     18      text-overflow: ellipsis;
     19    }
     20    tr {
     21      overflow: hidden;
     22    }
     23 
     24  </style>
     25 </head>
     26 <body>
     27 PASS if there is no ellipsis below.
     28  <table style="table-layout: fixed; width: 130px" cellpadding="0" cellspacing="0">
     29    <tr></tr>
     30  </table>
     31 
     32 </body>
     33 </html>