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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/8145-2.html

Issue 2179373002: Convert editing/pasteboard/8145-[1-3].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-26T15:28:49 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/pasteboard/8145-2.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/8145-2.html b/third_party/WebKit/LayoutTests/editing/pasteboard/8145-2.html
deleted file mode 100644
index 0b2b8093f0716f515596e4bcd6c9bc0853dfd64f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/8145-2.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<script>
-if (window.testRunner)
- testRunner.dumpEditingCallbacks();
-</script>
-<p>This tests a change made with the fix for 8145. The paragraph separator inserted to prevent nesting blocks from the fragment to paste inside the block where the paste occured was incorrectly inserted when the paste occured at the start of a paragraph.</p>
-<div id="test" style="border: 1px solid black;" contenteditable="true"></div>
-
-<script>
-if (window.internals)
- internals.settings.setEditingBehavior('mac');
-var s = window.getSelection();
-var p = document.getElementById("test");
-p.innerHTML = "foo<br>bar<br>baz";
-s.collapse(p, 0);
-s.modify("move", "forward", "word");
-s.modify("move", "forward", "character");
-var html = "<div>foo</div>bar";
-document.execCommand("InsertHTML", false, html);
-</script>

Powered by Google App Engine
This is Rietveld 408576698