Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / floats-wrap-inside-inline-006.html
blobb059831c5e0b71ded96771e3236c9fdfb54082a5
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 .container { width: 100px; height: 100px;}
10 div { background: white; }
11 .text { color:red;}
12 </style>
13 </head>
14 <body>
15 <!-- Avoid floats on the first line of a container using the font or line height as a hint. -->
16 <p>There should be no red text visible below.</p>
17 <div class="container">
18 <div style="position: absolute; width: 100px; height: 100px; background: black;"></div>
19 <div style="float: left; width: 10px; height: 10px; background: white"></div>
20 <div style="float: left; clear:left; width: 50px; height: 50px; background: white"></div>
21 <p class="text">Some long text.</p>
22 </div>
25 </body></html>