tor-browser

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

c414-flt-fit-006.xht (1878B)


      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: Replaced Float Not Fitting Beside Opposite Float</title>
      5   <meta name="flags" content="image" />
      6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
      7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      8   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-05 -->
      9   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#floating-elements"/>
     10   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats"/>
     11   <link rel="match" href="c414-flt-fit-006-ref.xht" />
     12 
     13   <style type="text/css"><![CDATA[
     14    img { background: red; color: yellow; }
     15    .control { padding: 1em; }
     16    .control img { width: 10em; height: 1em; display: block; }
     17    .control img.right { margin-left: 5em; }
     18    .test { width: 15em; margin: 1em; }
     19    .test div { margin: 0; padding: 0; background: red; }
     20    .test img { width: 10em; height: 1em; }
     21    .test img.left { float: left; }
     22    .test img.right { float: right;}
     23   ]]></style>
     24 
     25  </head>
     26  <body>
     27   <p>Test passes if the 2 patterns are identical with <strong>no red</strong>.</p>
     28   <div class="control">
     29    <img src="support/square-teal.png" alt="FAIL: You need image support for this test." class="left"/>
     30    <img src="support/square-purple.png" alt="FAIL: You need image support for this test." class="right"/>
     31   </div>
     32   <div class="test">
     33    <div>
     34     <img src="support/square-teal.png" alt="FAIL: You need image support for this test." class="left"/>
     35     <img src="support/square-purple.png" alt="FAIL: You need image support for this test." class="right"/>
     36    </div>
     37   </div>
     38  </body>
     39 </html>