tor-browser

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

text-overflow-ellipsis-rtl-001.html (829B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: text-overflow: ellipsis RTL</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#ellipsis-scrolling">
      6 <link rel="match" href="reference/text-overflow-ellipsis-rtl-001-ref.html">
      7 <meta name="assert" content="Check that ellipsis is placed on the right position on the container boundaries in elements with 'text-overflow: ellipsis' in RTL.">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10  div {
     11    font: 100px/1 Ahem;
     12    width: 400px;
     13    white-space: pre;
     14    overflow: hidden;
     15    text-overflow: ellipsis;
     16    direction: rtl;
     17  }
     18 </style>
     19 <p>The test passes if it matches the reference.</p>
     20 <div>ppp</div>
     21 <div>pppp</div>
     22 <div>ppppp</div>