Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <title>CSS 2.1 Test Suite: Test for float placement rules</title> |
michael@0 | 4 | <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" /> |
michael@0 | 5 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 6 | <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" /> |
michael@0 | 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." /> |
michael@0 | 8 | <meta name="assert" content="A floating box must be placed as high as possible. " /> |
michael@0 | 9 | <meta name="flags" content="" /> |
michael@0 | 10 | <body style="width:100px; font-size:5px;"> |
michael@0 | 11 | <!-- Check that we don't allow floats to reorder --> |
michael@0 | 12 | H |
michael@0 | 13 | <div style="background:blue; width:100px; height:100px; float:left;"></div> |
michael@0 | 14 | <div style="background:yellow; width:30px; height:30px; float:left;"></div> |
michael@0 | 15 | <div style="background:yellow; width:30px; height:30px; float:right;"></div> |
michael@0 | 16 | </body> |
michael@0 | 17 | </html> |