Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / floats-wrap-inside-inline-001.htm
blobc4bea924615a1108d82c67a9a45b665cd19c51dd
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-block; vertical-align: top; width: 40px; background: black; }
10 div { background: black; }
11 </style>
12 </head>
13 <body>
14 <!--The 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: 5px; background: white"></div>
19 <div style="float: left; clear:left; width: 50px; height: 5px; background: white"></div>
20 <span style="line-height: 20px">test<br>test</span>
24 </body></html>