| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <style> | |
| 4 .flow { -webkit-flow-into: flow; } | |
| 5 #region { -webkit-flow-from: flow; } | |
| 6 span { display: inline-block; } | |
| 7 </style> | |
| 8 | |
| 9 <span id="el1" class="flow"></span> | |
| 10 <!-- Force creation of an anonymous block. --> | |
| 11 <div class="flow"></div> | |
| 12 <span id="el2"></span> | |
| 13 | |
| 14 <div id="region"></div> | |
| 15 | |
| 16 <script> | |
| 17 if (window.testRunner) | |
| 18 testRunner.dumpAsText(); | |
| 19 var el1 = document.getElementById("el1"); | |
| 20 var el2 = document.getElementById("el2"); | |
| 21 el1.style.display = "none"; | |
| 22 el2.className = "flow"; | |
| 23 // Test passes if there's no crash. | |
| 24 document.write("PASS"); | |
| 25 </script> | |
| OLD | NEW |