OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #content { | |
6 width: 500px; | |
7 height: 150px; | |
8 -webkit-flow-into: flow; | |
9 } | |
10 .region { | |
11 -webkit-flow-from: flow; | |
12 width: 500px; | |
13 height: 500px; | |
14 } | |
15 </style> | |
16 </head> | |
17 <body> | |
18 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=101332">WebKit
Bug 101332</a> Crash </p> | |
19 <p>The test passes if it does not crash or assert.</p> | |
20 <p>PASS</p> | |
21 <div id="content"> | |
22 Hello Crash! | |
23 </div> | |
24 <div id="region"></div> | |
25 <script> | |
26 if (window.testRunner) | |
27 window.testRunner.dumpAsText(); | |
28 var content = document.getElementById("content"); | |
29 content.style.height = "200px"; | |
30 document.body.offsetTop; | |
31 var region = document.getElementById("region"); | |
32 region.className = "region"; | |
33 document.body.offsetTop; | |
34 region.className = "noregion"; | |
35 document.body.offsetTop; | |
36 </script> | |
37 </body> | |
38 </html> | |
OLD | NEW |