Do not create a shape object outside of the layout context
[WebKit-https.git] / LayoutTests / fast / block / float / floats-and-text-indent.html
1 <!DOCTYPE html>
2 <style>
3     #container {
4         text-indent: 100px;
5         width: 200px;
6         border: 1px solid black;
7     }
8     #float {
9         float: left;
10         width: 50px;
11         height: 50px;
12         background: green;
13     }
14 </style>
15 <div id="container">
16     <div id="float"></div>
17     Some text that should not overlap the edge of the container.
18 </div>