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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-04.html

Issue 2175233002: Convert editing/inserting/insert-paragraph-0[1-5].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-26T13:41:23 Created 4 years, 5 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/insert-paragraph-04.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-04.html b/third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-04.html
deleted file mode 100644
index 41c00c3e8ad0de0e365e985a30a1566089cd601b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-04.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<p>This tests inserting a paragraph separator after a horizontal rule. You should see 'foo', empty paragraph, horizontal rule, 'bar', and the caret should be just after the horizontal rule. <b>This demonstrates 8345. The caret after a horizontal rule is drawn in the same location as the caret before a horizontal rule.</p>
-<div contenteditable="true" id="div">foo<hr>bar</div>
-<div id="log"></div>
-<script>
-test(function() {
- if (window.internals)
- internals.settings.setEditingBehavior('mac');
- var selection = window.getSelection();
- var div = document.getElementById('div');
- selection.collapse(div, 0);
- selection.modify('move', 'forward', 'word');
- selection.modify('move', 'forward', 'character');
- selection.modify('move', 'forward', 'character');
- document.execCommand('insertParagraph');
-
- assert_equals(div.innerHTML, 'foo<hr><br>bar');
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698