tor-browser

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

bidi-box-model-036.xht (1410B)


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