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

Unified Diff: LayoutTests/editing/selection/character-data-mutation-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/selection/character-data-mutation-crash.html
diff --git a/LayoutTests/editing/selection/character-data-mutation-crash.html b/LayoutTests/editing/selection/character-data-mutation-crash.html
index 6f1ac9949612d72a9070114c1f5b4666525aea6c..76664b1985d1fbeff34726a625d77f28b48b5621 100644
--- a/LayoutTests/editing/selection/character-data-mutation-crash.html
+++ b/LayoutTests/editing/selection/character-data-mutation-crash.html
@@ -1,21 +1,21 @@
-<!DOCTYPE html>
-<html>
-<body>
-<p>This tests modifying the value of text node that's pointed by the selection and executing an editing command. WebKit should not crash and you should see PASS:</p>
-<div id="test" contenteditable>hello world</div>
-<script>
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var test = document.getElementById('test');
-test.focus();
-window.getSelection().setBaseAndExtent(test.firstChild, 1, test.firstChild, 10);
-test.firstChild.data = 'hey';
-document.execCommand('insertLineBreak', false, null);
-
-test.innerHTML = 'PASS';
-
-</script>
-</body>
-</html>
+<!DOCTYPE html>
+<html>
+<body>
+<p>This tests modifying the value of text node that's pointed by the selection and executing an editing command. WebKit should not crash and you should see PASS:</p>
+<div id="test" contenteditable>hello world</div>
+<script>
+
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+var test = document.getElementById('test');
+test.focus();
+window.getSelection().setBaseAndExtent(test.firstChild, 1, test.firstChild, 10);
+test.firstChild.data = 'hey';
+document.execCommand('insertLineBreak', false, null);
+
+test.innerHTML = 'PASS';
+
+</script>
+</body>
+</html>
« no previous file with comments | « LayoutTests/editing/selection/character-data-mutation.html ('k') | LayoutTests/editing/selection/clear-selection-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698