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

Unified Diff: LayoutTests/editing/execCommand/indent-node-to-split-to-crash.html

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/indent-node-to-split-to-crash.html
diff --git a/LayoutTests/editing/execCommand/indent-node-to-split-to-crash.html b/LayoutTests/editing/execCommand/indent-node-to-split-to-crash.html
index 7bd53bb7b23e85ba36797b27bac68bcec3289c2b..27f0b0f6bf04428be446ea48a7533451a0516371 100644
--- a/LayoutTests/editing/execCommand/indent-node-to-split-to-crash.html
+++ b/LayoutTests/editing/execCommand/indent-node-to-split-to-crash.html
@@ -1,32 +1,32 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/JavaScript">
-
-function runTest() {
- document.execCommand('usecss', null, 'false');
-
- var div = document.getElementById('a');
- var range = document.createRange();
- var sNode = div.childNodes[0];
- var eNode = div.childNodes[3];
- range.setStart(sNode, NaN);
- range.setEnd(eNode, NaN);
- getSelection().removeAllRanges();
- getSelection().addRange(range);
-
- document.execCommand('indent', null, true);
-
- document.body.innerHTML = 'This test ensures WebKit does not crash when intending.<br>PASS';
-
- testRunner.notifyDone();
-}
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-</script>
-</head>
-<body onload="runTest()"><div contenteditable="" id="a"><div><br><div contenteditable="false"><table></table></div></div><blockquote><input></blockquote><br></br></div></body></html>
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/JavaScript">
+
+function runTest() {
+ document.execCommand('usecss', null, 'false');
+
+ var div = document.getElementById('a');
+ var range = document.createRange();
+ var sNode = div.childNodes[0];
+ var eNode = div.childNodes[3];
+ range.setStart(sNode, NaN);
+ range.setEnd(eNode, NaN);
+ getSelection().removeAllRanges();
+ getSelection().addRange(range);
+
+ document.execCommand('indent', null, true);
+
+ document.body.innerHTML = 'This test ensures WebKit does not crash when intending.<br>PASS';
+
+ testRunner.notifyDone();
+}
+
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+
+</script>
+</head>
+<body onload="runTest()"><div contenteditable="" id="a"><div><br><div contenteditable="false"><table></table></div></div><blockquote><input></blockquote><br></br></div></body></html>

Powered by Google App Engine
This is Rietveld 408576698