tor-browser

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

float-vrl-008.xht (1476B)


      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: left' in a '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   <meta content="This test checks that a floated left box in a containing block with 'writing-mode' set to 'vertical-rl' will be floated at the line-left side of its line box." name="assert" />
     15 
     16   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     17   <style type="text/css"><![CDATA[
     18   div#wrapper
     19     {
     20       background: red url("support/pattern-gg-gr-100x100.png") no-repeat;
     21       color: green;
     22       font: 50px/1 Ahem; /* computes to 50px/50px */
     23       height: 100px;
     24       width: 100px;
     25       writing-mode: vertical-rl;
     26     }
     27 
     28   div#floated-left
     29     {
     30       color: transparent;
     31       float: left;
     32     }
     33   ]]></style>
     34  </head>
     35 
     36  <body>
     37 
     38   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     39 
     40   <div id="wrapper">
     41     <div id="floated-left">L</div>A
     42   </div>
     43 
     44  </body>
     45 </html>