tor-browser

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

bidi-first-letter-004.xht (1002B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3   <head>
      4     <title>CSS Test: :first-letter and bidi-override - inherent ltr text</title>
      5     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
      6     <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter"/>
      7     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi"/>
      8     <meta name="assert" content=":first-letter applied to inherent LTR text reordered with bidi-override should pick out the first logical letter"/>
      9     <style type="text/css"><![CDATA[
     10     p.test {
     11     font-size: 2em;
     12     unicode-bidi: bidi-override;
     13     direction:rtl;
     14     }
     15     p.test:first-letter {
     16     color:blue;
     17     }
     18     ]]></style>
     19   </head>
     20   <body>
     21 
     22     <p>The rightmost letter (a) in the line below should be blue.</p>
     23 
     24     <p class="test">axx xxx xxx</p>
     25 
     26   </body>
     27 </html>