9aaa371b505ce06f4e1860bcdd4cafdd2dbd2835
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / block / float / float-not-removed-from-next-sibling.html
1 <html>\r
2     <body onload="runTest()">\r
3         <div style="width: 20px;">\r
4             <script>\r
5                 function runTest()\r
6                 {\r
7                     document.body.offsetTop;\r
8                     var container = document.getElementById('panel');\r
9                     container.style.position = 'relative';\r
10                     document.getElementById('test1').style.position = 'absolute';\r
11                     document.getElementById('test2').style.position = 'absolute';\r
12                 }\r
13             </script>\r
14             <div id="panel">\r
15                 <div id="test1">\r
16                     <img style="float: left; width: 20px; height: 100px; background-color: silver;">\r
17                 </div>\r
18                 <div id="test2" style="font-family: ahem;">\r
19                     <a><p>A B C D</p>\r
20                 </div>\r
21             </div>\r
22         </div>\r
23     </body>\r
24 </html>\r