tor-browser

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

initial-letter-float-001-rtl-ref.html (989B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests initial letter should be part of the line in RTL</title>
      5 <link rel="author" title="Google LLC" href="https://www.google.com/">
      6 <link rel="help" href="https://drafts.csswg.org/css-inline/#initial-letter-floats">
      7 <meta name="flags" content="ahem">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" >
      9 <style>
     10    .sample {
     11        border: solid 1px green;
     12        direction: rtl;
     13        font-family: Ahem;
     14        font-size: 20px;
     15        line-height: 24px;
     16        width: 230px;
     17    }
     18 
     19    .float {
     20        background: cyan;
     21        clear: none;
     22        float: right;
     23        height: 50px;
     24        width: 50px;
     25    }
     26 
     27    .fake-initial-letter {
     28        background: lime;
     29        float: right;
     30        height: 80px;
     31        margin-top: 2px;
     32        width: 80px;
     33    }
     34 </style>
     35 </head>
     36 <body>
     37 <div class="sample"><div class="float"></div>
     38 <div class="fake-initial-letter"></div>
     39 bc<br>def<br>ghi<br>jkl<br>mno<br>
     40 </div>
     41 </body>
     42 </html>