| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 #article1 { -webkit-flow-into: flow1; } | |
| 6 #region1 { -webkit-flow-from: flow1; } | |
| 7 @-webkit-region #region1 { div { background-color: green; } } | |
| 8 </style> | |
| 9 </head> | |
| 10 <body> | |
| 11 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=93276">WebK
it Bug 93276</a> Crash when using style in region for removed element.</p> | |
| 12 <p>The test passes if it does not crash or assert.</p> | |
| 13 <p>PASS</p> | |
| 14 <div id="article1"> | |
| 15 <span><span id="span1"><div></div></span></span> | |
| 16 </div> | |
| 17 <div id="region1"><div> | |
| 18 <script> | |
| 19 if (window.testRunner) | |
| 20 window.testRunner.dumpAsText(); | |
| 21 document.body.offsetTop; | |
| 22 child = document.getElementById("span1"); | |
| 23 child.parentNode.removeChild(child); | |
| 24 </script> | |
| 25 </body> | |
| 26 </html> | |
| OLD | NEW |