tor-browser

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

direction-applies-to-011.xht (1187B)


      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 run-in</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-direction" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#direction" />
      8         <meta name="flags" content="ahem" />
      9         <meta name="assert" content="The 'direction' property applies to elements with a display of run-in." />
     10         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11         <style type="text/css">
     12             div
     13             {
     14                 background: orange;
     15                 direction: rtl;
     16                 display: run-in;
     17                 font: 0.5in/1em Ahem;
     18                 height: 1in;
     19                 width: 1in;
     20             }
     21         </style>
     22     </head>
     23     <body>
     24         <p>Test passes if there is a box in the upper-right corner of the orange box.</p>
     25         <div>X</div>
     26     </body>
     27 </html>