Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: LayoutTests/editing/execCommand/editing-nontext-node-crash.xhtml

Issue 217003006: Remove carriage returns from LayoutTests (01) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix caret-and-focus-ring Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
+

Powered by Google App Engine
This is Rietveld 408576698