Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / floats-wrap-inside-inline-003.htm
blob7b2070b5026577cee44b9b278b0a9d32dbe93336
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Test for wrapping around floats which are overlapped by the element that must avoid them</title>
5 <link rel="author" title="WebKit" href="http://webkit.org/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats">
7 <style type="text/css">
8 body { width: 400px; background: white}
9 span { display: inline; vertical-align: top; width: 40px; background: black; font: 20px Ahem; margin: 0px;}
10 div { background: black; }
11 </style>
12 </head>
13 <body>
14 <!--An inline span should avoid a float even when its top and bottom does not overlap with the top of the span.
15 In this test the float starts and ends inside the span's first linebox.-->
16 <p>There should be two black boxes below.</p>
17 <div style="position: absolute; width: 40px; height: 40px; background: black;"></div>
18 <div style="float: left; width: 40px; height: 15px; background: white;"></div>
19 <div style="float: left; clear:left; width: 100px; height: 35px; background: white;"></div>
20 <span>aaa</span>
22 </body></html>