layout/reftests/bugs/25888-3r-block.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/25888-3r-block.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     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 +span { display: block; overflow: hidden; width: 100px; height: 50px; background: aqua; }
    1.17 +
    1.18 +</style>
    1.19 +</head>
    1.20 +<body>
    1.21 +
    1.22 +<div style="float: right; width: 250px; height: 75px;"></div>
    1.23 +<div style="float: left; width: 250px; height: 75px;"></div>
    1.24 +<span></span>
    1.25 +<span></span>
    1.26 +
    1.27 +</body>
    1.28 +</html>

mercurial