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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/insert-div-text-into-text.html

Issue 2298043003: Convert editing/pasteboard/insert-div-text-into-text.html to use w3c test harness (Closed)
Patch Set: 2016-09-01T12:27:29 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/pasteboard/insert-div-text-into-text.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-div-text-into-text.html b/third_party/WebKit/LayoutTests/editing/pasteboard/insert-div-text-into-text.html
deleted file mode 100644
index 0b38ed8984c2b48d155fbe88a5ce16a4221b2bf3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/insert-div-text-into-text.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE>
-<html>
-<body>
-<div id="test" contenteditable="true">There&nbsp; be no line breaks in this sentence.</div>
-<script src="../../resources/dump-as-markup.js"></script>
-<script>
-
-if (window.testRunner)
- testRunner.dumpEditingCallbacks();
-if (window.internals)
- internals.settings.setEditingBehavior('mac');
-
-Markup.description('This tests inserting a text wrapped in a div inside a text node.');
-
-var sel = window.getSelection();
-var e = document.getElementById("test").firstChild;
-
-sel.collapse(e, 0);
-sel.modify("move", "forward", "word");
-sel.modify("move", "forward", "character");
-document.execCommand("InsertHTML", false, "<div>should</div>");
-
-Markup.dump('test');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698