OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style id="target"> | 2 <style id="target"> |
3 .fragmented { -webkit-columns:3; } | 3 .fragmented { -webkit-columns:3; } |
4 .layer { position:relative; } | 4 .layer { position:relative; } |
5 </style> | 5 </style> |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 if (window.internals) | |
10 internals.settings.setRegionBasedColumnsEnabled(true); | |
11 onload = function() { | 9 onload = function() { |
12 document.body.offsetTop; | 10 document.body.offsetTop; |
13 var target = document.getElementById('target'); | 11 var target = document.getElementById('target'); |
14 target.parentNode.removeChild(target); | 12 target.parentNode.removeChild(target); |
15 } | 13 } |
16 </script> | 14 </script> |
17 <p>PASS if no crash.</p> | 15 <p>PASS if no crash.</p> |
18 <div class="fragmented"> | 16 <div class="fragmented"> |
19 <div class="layer"> | 17 <div class="layer"> |
20 <div class="layer"></div> | 18 <div class="layer"></div> |
21 </div> | 19 </div> |
22 </div> | 20 </div> |
OLD | NEW |