tor-browser

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

Initial-letter-breaking-rtl.html (1470B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Tests interaction with fragmentation 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-breaking">
      7 <meta name="flags" content="ahem">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" >
      9 <link rel="match" href="Initial-letter-breaking-rtl-ref.html">
     10 <style>
     11    .sample {
     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    .mc {
     28        columns: 2;
     29        direction: rtl;
     30        height: 500px;
     31        writing-mode: horizontal-tb;
     32    }
     33 
     34    .initial-letter::first-letter {
     35        initial-letter: 3 drop;
     36        color: lime;
     37        font-size: 100px;   /* should be ignored in rendering */
     38        line-height: 50px;  /* should be ignored in rendering */
     39    }
     40 </style>
     41 </head>
     42 <body>
     43 <div class="mc">
     44 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
     45 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
     46 <div class="sample initial-letter">ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
     47 </div>
     48 </body>
     49 </html>