1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head><link rel="reference" href="floats-placement-vertical-004-ref2.xht"><link rel="reference" href="floats-placement-vertical-004-ref.xht"><title>CSS Test: Test for float placement rules</title>
3 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org">
4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
5 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position">
6 <meta name="assert" content="A floating box must be placed as high as possible. ">
7 <meta name="flags" content="">
8 </head><body style="width:200px; font-size:5px;">
9 <!-- Check that we're actually taking inline content already in the line into account
10 when we check whether the blue float fits -->
11 <div style="background:green; width:100px; height:100px; float:left;"></div>
12 H
13 <div style="background:blue; width:100px; height:100px; float:left;"></div>
14
15
16 </body></html>