Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / floats-offset-image-strict-expected.html
blobd57f5fd1f5e96dbf6766a4205afd0543b6c0781a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <style>
5 body { width: 400px;}
6 .container { width: 100px; height: 150px; position: relative;}
7 div { background: white; }
8 .reference { position: absolute; width: 20px; height: 20px; background: black; }
9 .first { left: 10px; }
10 .second { left: 40px; top: 22px; }
11 </style>
12 </head>
13 <body>
14 <!-- In strict mode, images do not have their descent removed across line breaks.
15 Ensure the images find the correct offset for their line when avoiding floats. -->
16 There should be no red visible below.
17 <div class="container">
18 <!-- This should cover the first image. -->
19 <div class="reference first"></div>
20 <!-- This should cover the second image. -->
21 <div class="reference second"></div>
22 </div>
23 </body></html>