layout/reftests/floats/zero-height-float.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/floats/zero-height-float.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +    <title>CSS 2.1 Test Suite: wrapping around zero-height floats</title>
     1.6 +    <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
     1.7 +    <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     1.8 +    <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats"/>
     1.9 +    <meta name="flags" content="" />
    1.10 +    <meta name="assert" content="wrapping around zero-height floats" />
    1.11 +
    1.12 +<div style="width: 500px; height: 500px; float: left; font-size: 12px;">
    1.13 +
    1.14 +  <div style="float: left; width: 10px; height: 30px"></div>
    1.15 +  <div style="float: left; clear: left; width: 100px; height: 0"></div>
    1.16 +
    1.17 +  <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: blue;"></span>
    1.18 +  <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: purple;"></span>
    1.19 +  <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: fuchsia"></span>
    1.20 +
    1.21 +</div>

mercurial