tor-browser

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

bidi-box-model-011.xht (1412B)


      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 - margin-left on normal 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/CSS21/box.html#bidi-box-model" />
      8     <link rel="match" href="bidi-box-model-010-ref.xht" />
      9 
     10     <meta name="flags" content="ahem" />
     11     <meta name="assert" content="Side margins should be unaffected by directionality"/>
     12     <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13     <style type="text/css"><![CDATA[
     14       span {
     15       color: orange;
     16       margin-left: 2em;
     17       }
     18 
     19       .rtol {
     20       direction: rtl;
     21       unicode-bidi: normal;
     22       }
     23 
     24       div {
     25       text-align: left;
     26       width: 20em;
     27       font: 1.25em/1 Ahem;
     28       background: navy;
     29       color: teal;
     30       margin-bottom: 1em;
     31       }
     32     ]]></style>
     33   </head>
     34 
     35   <body>
     36     <p>Test passes if the 2 multi-colored stripes are <strong>identical</strong>.</p>
     37     <div>
     38       First <span>Second</span>
     39     </div>
     40     <div>
     41       First <span class="rtol">Second</span>
     42     </div>
     43   </body>
     44 </html>