layout/reftests/bugs/50630-3.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <title>CSS 2.1 Test Suite: Test for float placement rules</title>
     4 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
     5 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
     7 <meta name="assert" content="The outer top of a floating box may not be higher than the outer top of any block or floated box generated by an element earlier in the source document." />
     8 <meta name="assert" content="A floating box must be placed as high as possible. " />
     9 <meta name="flags" content="" />
    10 <body style="width:100px; font-size:5px;">
    11 <!-- Check that we don't allow floats to reorder -->
    12 H
    13 <div style="background:blue; width:100px; height:100px; float:left;"></div>
    14 <div style="background:yellow; width:30px; height:30px; float:left;"></div>
    15 <div style="background:yellow; width:30px; height:30px; float:right;"></div>
    16 </body>
    17 </html>

mercurial