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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-03.html

Issue 2287283002: Convert editing/inserting/paragraph-separator-0[123].html to use w3c test harness (Closed)
Patch Set: 2016-08-30T13:39:16 Created 4 years, 4 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: third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-03.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-03.html b/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-03.html
deleted file mode 100644
index e99ba513f7ce057e47e9bef1719d5e4073a0565b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-03.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<script>
-if (window.testRunner)
- testRunner.dumpEditingCallbacks();
-</script>
-<p>Tests for a bug in the paragraph separator insertion code that would add an extra newline when inserting a paragraph separator at the end of a paragraph in text that preserves newlines. Also, an extraneous space would be added after 'foo'. Only one newline should be added. And there should be no extraneous spaces.</p>
-<p><b>It demonstrates a bug:</b> too much padding is left between the new line and the end of the paragraph containing 'foo'.</p>
-<div id="test" contenteditable="true"><pre>foo
-bar</pre></div>
-
-<script type="text/javascript" src="../editing.js"></script>
-<script>
-if (window.internals)
- internals.settings.setEditingBehavior("mac");
-var e = document.getElementById("test");
-var s = window.getSelection();
-
-setSelectionCommand(e, 0, e, 0);
-moveSelectionForwardByWordCommand();
-insertParagraphCommand();
-</script>

Powered by Google App Engine
This is Rietveld 408576698