tor-browser

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

bidi-box-model-006.xht (1275B)


      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: bidirection box model - borders on bidi-override inline</title>
      5     <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
      6     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-12 -->
      7     <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#bidi-box-model"/>
      8     <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model"/>
      9     <link rel="match" href="bidi-box-model-001-ref.xht" />
     10 
     11     <meta name="assert" content="Border sides should be unaffected by directionality"/>
     12     <style type="text/css"><![CDATA[
     13       span {
     14       border: 5px solid gray;
     15       border-color: orange purple teal yellow;
     16       }
     17 
     18       .rtol {
     19       direction: rtl;
     20       unicode-bidi: bidi-override;
     21       }
     22 
     23       p {text-align: left;}
     24     ]]></style>
     25   </head>
     26 
     27   <body>
     28     <p>Test passes if the 2 lines are <strong>identical</strong>.</p>
     29     <p>
     30       First <span>Second</span>
     31     </p>
     32     <p>
     33       First <span class="rtol">dnoceS</span>
     34     </p>
     35   </body>
     36 </html>