tor-browser

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

text-overflow-string-004.html (889B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Basic User Interface Test: text-overflow - string with text-emphasis</title>
      4 <link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4">
      6 <link rel="match" href="reference/text-overflow-string-004-ref.html">
      7 <meta name="assert" content="Test checks that text-emphasis is not shown on the string ellipsis">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10  div {
     11    font-size: 10px;
     12    overflow: hidden;
     13    text-overflow: "123";
     14    text-emphasis: dot;
     15    width: 150px;
     16  }
     17  span {
     18    font-family: Ahem;
     19    font-size: 30px;
     20  }
     21 </style>
     22 <body>
     23  <p>Test passes if text-emphasis is only on a black rectangle, not on the <strong>123</strong></p>
     24  <div>
     25    <span>TestChecksThatTheBrokenContentRepalcedBy123</span>
     26  </div>
     27 </body>