Do not create a shape object outside of the layout context
[WebKit-https.git] / LayoutTests / fast / block / float / simple-line-layout-float-shrink-line.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .floating {
6     width: 40px;
7     height: 10px;
8     border: 1px solid blue;
9 }
10
11 .container { 
12     width: 150px;
13 }
14 </style>
15 </head>
16 <body>
17 <div class=container>
18   <div class=floating style="float: left"></div>
19   <div class=floating style="float: right; clear: left"></div>
20   <div>Pass if "this" wraps to the second line.</div>
21 </div>
22 </body>
23 </html>