layout/reftests/bugs/25888-1r-block.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.

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 div { float: right; clear: right; }
michael@0 14 span { display: block; overflow: hidden; width: 200px; height: 50px; background: aqua; margin-left: auto; }
michael@0 15
michael@0 16 </style>
michael@0 17 </head>
michael@0 18 <body>
michael@0 19
michael@0 20 <div style="width: 50px; height: 75px;"></div>
michael@0 21 <div style="width: 100px; height: 75px;"></div>
michael@0 22 <span></span>
michael@0 23 <span></span>
michael@0 24
michael@0 25 </body>
michael@0 26 </html>

mercurial