tor-browser

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

text-overflow-004.html (1239B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Basic User Interface Test: text-overflow - inherit - inherit ellipsis value of parent's text-overflow property</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com/">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="8.2. Overflow Ellipsis: the 'text-overflow' property" href="http://www.w3.org/TR/css3-ui/#text-overflow">
      7 <link rel="match" href="reference/text-overflow-002-ref.html">
      8 <meta name="assert" content="Test checks that text-overflow inherits the parent' ellipsis value when text-overflow set inherit">
      9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10 <style>
     11  #container {
     12    text-overflow: ellipsis;
     13  }
     14  #test {
     15    font-size: 10px;
     16    overflow: hidden;
     17    text-overflow: inherit;
     18    width: 150px;
     19  }
     20  span {
     21    font-family: Ahem;
     22    font-size: 30px;
     23  }
     24 </style>
     25 <body>
     26  <p>PREREQUISITE: The font used must have a glyph for the U+2026 character.</p>
     27  <p>Test passes if there is an <strong>ellipsis</strong> after a black rectangle below.</p>
     28  <div id="container">
     29    <div id="test">
     30      <span>TestChecksThatTheBrokenContentRepalcedByEllipsis</span>
     31    </div>
     32  </div>
     33 </body>