| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 body { font: 16px/1.25 monospace; } | |
| 6 #content { -webkit-flow-into: article; } | |
| 7 .rightFloat { float: right; } | |
| 8 .region { -webkit-flow-from: article; } | |
| 9 .small { width: 75px; height: 25px; } | |
| 10 .big { width: 200px; height: 150px; } | |
| 11 </style> | |
| 12 </head> | |
| 13 <body> | |
| 14 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=112515"> [CSSRe
gions] Crash reflowing content in variable width regions</a>.</p> | |
| 15 <p>On success, you should see past below and test does not crash or assert.<
/p> | |
| 16 <div id="content"> | |
| 17 <div class="rightFloat">Floating content</div> | |
| 18 </div> | |
| 19 <div class="region small"></div> | |
| 20 <div class="region big"></div> | |
| 21 <p>PASS</p> | |
| 22 <script> | |
| 23 document.body.offsetTop; // force layout | |
| 24 document.getElementById("content").innerHTML = "<span>Some text here</sp
an>"; | |
| 25 if (window.testRunner) | |
| 26 window.testRunner.dumpAsText(); | |
| 27 </script> | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |