Index: LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml |
diff --git a/LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml b/LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml |
index 01250282a1a141b1cefe435d079e04f0e06313bd..433d2e2a46392188cd70a6e77c93e3828829ecb6 100644 |
--- a/LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml |
+++ b/LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml |
@@ -1,36 +1,36 @@ |
-<html xmlns="http://www.w3.org/1999/xhtml"> |
- <head> |
- <script>//<![CDATA[ |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
- var selection = window.getSelection(); |
- function runEditingTest() { |
- var elem = document.getElementById("test2"); |
- selection.setPosition(elem, 0); |
- for (i = 0; i < 21; i++) |
- selection.modify("move", "forward", "character"); |
- document.execCommand("Delete"); |
- |
- // Test completed without crash. |
- document.getElementById("test1").removeChild(elem); |
- document.getElementById("result").innerHTML = "PASS"; |
- } |
- //]]></script> |
- </head> |
- <body onload="runEditingTest()"> |
- <p>This tests passes if it does not crash.</p> |
- <div id="result"></div> |
- <div id="test1" contenteditable=""> |
- <span id="test2">Something Something <br/> |
- <svg xmlns="http://www.w3.org/2000/svg"> |
- <html xmlns="http://www.w3.org/1999/xhtml"> |
- <body> |
- </body> |
- </html> |
- </svg> |
- </span> |
- </div> |
- </body> |
-</html> |
- |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+ <head> |
+ <script>//<![CDATA[ |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ var selection = window.getSelection(); |
+ function runEditingTest() { |
+ var elem = document.getElementById("test2"); |
+ selection.setPosition(elem, 0); |
+ for (i = 0; i < 21; i++) |
+ selection.modify("move", "forward", "character"); |
+ document.execCommand("Delete"); |
+ |
+ // Test completed without crash. |
+ document.getElementById("test1").removeChild(elem); |
+ document.getElementById("result").innerHTML = "PASS"; |
+ } |
+ //]]></script> |
+ </head> |
+ <body onload="runEditingTest()"> |
+ <p>This tests passes if it does not crash.</p> |
+ <div id="result"></div> |
+ <div id="test1" contenteditable=""> |
+ <span id="test2">Something Something <br/> |
+ <svg xmlns="http://www.w3.org/2000/svg"> |
+ <html xmlns="http://www.w3.org/1999/xhtml"> |
+ <body> |
+ </body> |
+ </html> |
+ </svg> |
+ </span> |
+ </div> |
+ </body> |
+</html> |
+ |