tor-browser

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

float-clear-vrl-002.xht (1453B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Writing Modes Test: 'float: right' and 'clear: right' in 'vertical-rl' block formating context (basic)</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
     11   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     12 
     13   <meta content="ahem image" name="flags" />
     14 
     15   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     16   <style type="text/css"><![CDATA[
     17   div#wrapper
     18     {
     19       background: red url("support/pattern-rg-rg-100x100.png");
     20       color: transparent;
     21       font: 50px/1 Ahem; /* computes to 50px/50px */
     22       height: 2em; /* computes to 100px */
     23       width: 2em; /* computes to 100px */
     24       writing-mode: vertical-rl;
     25     }
     26 
     27   div#floated-right
     28     {
     29       float: right;
     30     }
     31 
     32   div#cleared-right
     33     {
     34       background-color: green;
     35       clear: right;
     36       width: 1em;
     37     }
     38   ]]></style>
     39  </head>
     40 
     41  <body>
     42 
     43   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     44 
     45   <div id="wrapper">
     46     <div id="floated-right">R</div>
     47     <div id="cleared-right"></div>
     48   </div>
     49 
     50  </body>
     51 </html>