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 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: Test for wrapping around floats whose top is below the top of what must wrap around them</title> |
michael@0 | 5 | <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" /> |
michael@0 | 8 | <meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." /> |
michael@0 | 9 | <meta name="flags" content="" /> |
michael@0 | 10 | <style type="text/css"> |
michael@0 | 11 | |
michael@0 | 12 | body { width: 400px; border: medium solid; } |
michael@0 | 13 | span { display: block; overflow: hidden; width: 200px; height: 50px; background: aqua; } |
michael@0 | 14 | |
michael@0 | 15 | </style> |
michael@0 | 16 | </head> |
michael@0 | 17 | <body> |
michael@0 | 18 | |
michael@0 | 19 | <div style="float: left; width: 150px; height: 75px;"></div> |
michael@0 | 20 | <div style="float: right; width: 300px; height: 75px;"></div> |
michael@0 | 21 | <span></span> |
michael@0 | 22 | <span></span> |
michael@0 | 23 | |
michael@0 | 24 | </body> |
michael@0 | 25 | </html> |