tor-browser

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

text-overflow-020.html (837B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Basic User Interface Test: no ellipsing when nesting</title>
      4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
      5 <link rel="help" href="http://www.w3.org/TR/css3-ui/#text-overflow">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <meta name="flags" content="ahem">
      8 <meta name="assert" content="Nested paragraph won’t ellipse.">
      9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10 <style>
     11 div {
     12  overflow: hidden;
     13  text-overflow: ellipsis;
     14  width: 100px;
     15  height: 100px;
     16  background: green;
     17 }
     18 div > p {
     19  white-space: pre;
     20  font: 40px/1 Ahem;
     21  color: green;
     22  background: red;
     23  margin: 0;
     24 }
     25 </style>
     26 
     27 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     28 <div><p>xxxxxxxxxx</p></div>