OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script> |
| 3 if (window.testRunner) |
| 4 testRunner.dumpAsText(); |
| 5 </script> |
| 6 <style> |
| 7 #invalid-spanner { display:none; -webkit-column-span:all; } |
| 8 </style> |
| 9 |
| 10 Test passes if it does not CRASH. |
| 11 <div style="-webkit-column-count:1;"> |
| 12 <div> |
| 13 <span id="inline" style="display:none;"></span> |
| 14 <div id="invalid-spanner"></div> |
| 15 </div> |
| 16 </div> |
| 17 |
| 18 <script> |
| 19 document.body.offsetTop; |
| 20 document.getElementById("inline").style.display = "inline"; |
| 21 |
| 22 // Note that a table-column isn't allowed to become a spanner. |
| 23 document.getElementById("invalid-spanner").style.display = "table-column"; |
| 24 |
| 25 onload = function() { |
| 26 document.body.offsetTop; |
| 27 document.getElementById("invalid-spanner").style.webkitColumnSpan = "non
e"; |
| 28 } |
| 29 </script> |
OLD | NEW |