Index: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html |
diff --git a/LayoutTests/fast/multicol/span/positioned-objects-not-removed-crash.html b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html |
similarity index 73% |
copy from LayoutTests/fast/multicol/span/positioned-objects-not-removed-crash.html |
copy to LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html |
index 5e4a1f41550a690e63afd8b337f2cd3244232c4c..c09ac9e41dba35037b776045e45461a131ce2062 100644 |
--- a/LayoutTests/fast/multicol/span/positioned-objects-not-removed-crash.html |
+++ b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/positioned-objects-not-removed-crash.html |
@@ -2,16 +2,18 @@ |
<html> |
<body> |
<style> |
-#test0 { -webkit-columns: 1px; } |
+#test0 { -webkit-columns: 1px; } |
#test1 { -webkit-perspective: 1; display: compact; } |
-#test1:before { content: ""; } |
-#test1:after { display: table; content: ""; } |
+#test1:before { content: ""; } |
+#test1:after { display: table; content: ""; } |
#test2 { -webkit-column-span: all; } |
-#test4:last-child { position:fixed; } |
-.c0 { display: table-header-group; } |
+#test4:last-child { position:fixed; } |
+.c0 { display: table-header-group; } |
.c1:first-letter { content: ""; } |
</style> |
<script> |
+if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
if (window.testRunner) |
testRunner.dumpAsText(); |
@@ -28,10 +30,10 @@ onload = function() { |
test3 = document.createElement('span'); |
test1.appendChild(test3); |
test4 = document.createElement('div'); |
- test4.setAttribute('id', 'test4'); |
+ test4.setAttribute('id', 'test4'); |
test3.appendChild(test4); |
document.body.offsetTop; |
- test2.setAttribute('class', 'c0'); |
+ test2.setAttribute('class', 'c0'); |
test4.setAttribute('class', 'c1'); |
document.body.offsetTop; |
document.body.innerHTML = "WebKit Bug - Crash in multi-column layout.<br />PASS. WebKit didn't crash."; |