Do not create a shape object outside of the layout context
[WebKit-https.git] / LayoutTests / fast / block / float / floats-offset-inline-block-strict-lineheight-expected.html
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 { color: red; width: 100px; height: 150px; position: relative;}
7         .container:first-line { font-size: 30px;}
8         div { background: white; }
9         .reference { position: absolute; width: 20px; height: 20px; background: black; } 
10         .first { left: 40px; top: 4px;} 
11         .second { top: 30px; } 
12     </style>
13 </head>
14 <body>
15 <!-- In strict mode, inline blocks do not have their descent removed across line breaks.
16      Ensure they find the correct offset for their line when avoiding floats. -->
17 There should be no red visible below.
18 <div class="container">
19     <div class="reference first"></div>
20     <div class="reference second"></div>
21 </div>
22 </body></html>