Index: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html |
diff --git a/LayoutTests/fast/multicol/span/textbox-not-removed-crash.html b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html |
similarity index 65% |
copy from LayoutTests/fast/multicol/span/textbox-not-removed-crash.html |
copy to LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html |
index 42d40d1eb8a4394d4812439dff50e5991d817889..5639d51f257d564bb8d519d5dce164e6c8f41b8f 100644 |
--- a/LayoutTests/fast/multicol/span/textbox-not-removed-crash.html |
+++ b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/textbox-not-removed-crash.html |
@@ -1,6 +1,10 @@ |
<!DOCTYPE html> |
<html> |
<head> |
+ <script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ </script> |
<style> |
#test1 { |
text-indent: -1em; |
@@ -16,15 +20,15 @@ if (window.testRunner) |
testRunner.dumpAsText(); |
function crash() { |
- test1 = document.createElement('div'); |
- test1.setAttribute('id', 'test1'); |
+ test1 = document.createElement('div'); |
+ test1.setAttribute('id', 'test1'); |
document.body.appendChild(test1); |
- test2 = document.createElement('div'); |
+ test2 = document.createElement('div'); |
test1.appendChild(test2); |
- test3 = document.createElement('div'); |
+ test3 = document.createElement('div'); |
test3.setAttribute('id', 'test3'); |
test2.appendChild(test3); |
- test2.appendChild(document.createTextNode('A')); |
+ test2.appendChild(document.createTextNode('A')); |
test2.style.display = '-webkit-box'; |
document.body.offsetTop; |
test3.style.display = 'list-item'; |