| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <style> | |
| 4 .content { | |
| 5 -webkit-flow-into: flow; | |
| 6 } | |
| 7 | |
| 8 .region { | |
| 9 -webkit-flow-from: flow; | |
| 10 width: 300px; | |
| 11 height: 300px; | |
| 12 } | |
| 13 </style> | |
| 14 </head> | |
| 15 <body> | |
| 16 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=109914">109914</
a>: [CSS Regions] Assertion in RenderFlowThread::removeRenderBoxRegionInfo</p> | |
| 17 <p>This test PASSES if it does not CRASH or ASSERT.</p> | |
| 18 <!-- We need two regions to prevent optimizations from hiding the assert
ion--> | |
| 19 <div class="region"></div> | |
| 20 <div class="region" id="region"></div> | |
| 21 <div class="content"><div id="content">X</div></div> | |
| 22 <script type="text/javascript"> | |
| 23 if (window.testRunner) | |
| 24 window.testRunner.dumpAsText(); | |
| 25 document.body.offsetTop; | |
| 26 var region = document.getElementById("region"); | |
| 27 var content = document.getElementById("content"); | |
| 28 region.style.webkitFlowFrom = "change_flow"; | |
| 29 content.style.webkitFlowInto = "change_flow"; | |
| 30 document.body.offsetTop; | |
| 31 content.style.display = "none"; | |
| 32 region.style.display = "none"; | |
| 33 </script> | |
| 34 </body> | |
| 35 </html> | |
| OLD | NEW |