tor-browser

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

direction-applies-to-010.xht (1576B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Direction applied to element with 'display' set to list-item</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-03 -->
      7         <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction" />
      9         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction" />
     10         <meta name="flags" content="ahem" />
     11         <meta name="assert" content="The 'direction' property applies to elements with a display of list-item." />
     12         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13         <style type="text/css">
     14             body
     15             {
     16                 margin-left: 1em;
     17             }
     18             div
     19             {
     20                 background: orange;
     21                 direction: rtl;
     22                 display: list-item;
     23                 font: 50px/1em Ahem;
     24                 height: 100px;
     25                 width: 100px;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if there is a black square in the upper-right corner of an orange square and a marker bullet on the right-hand side of both squares.</p>
     31         <div>X</div>
     32     </body>
     33 </html>