layout/reftests/bugs/25888-1l-block.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/25888-1l-block.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>CSS 2.1 Test Suite: Test for wrapping around floats whose top is below the top of what must wrap around them</title>
     1.8 +<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
     1.9 +<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
    1.10 +<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
    1.11 +<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." />
    1.12 +<meta name="flags" content="" />
    1.13 +<style type="text/css">
    1.14 +
    1.15 +body { width: 400px; border: medium solid; }
    1.16 +div { float: left; clear: left; }
    1.17 +span { display: block; overflow: hidden; width: 200px; height: 50px; background: aqua; margin-right: auto; }
    1.18 +
    1.19 +</style>
    1.20 +</head>
    1.21 +<body>
    1.22 +
    1.23 +<div style="width: 50px; height: 75px;"></div>
    1.24 +<div style="width: 100px; height: 75px;"></div>
    1.25 +<span></span>
    1.26 +<span></span>
    1.27 +
    1.28 +</body>
    1.29 +</html>

mercurial