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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/editable-html-element.html

Issue 1806423003: Convert editing/selection layout tests to use w3c test harness, volume 6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/editing/selection/editable-html-element.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/editable-html-element.html b/third_party/WebKit/LayoutTests/editing/selection/editable-html-element.html
deleted file mode 100644
index 8011318dec6d1aec82f552276a1c99244e7ac2df..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/selection/editable-html-element.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html contenteditable="true" id="test">
-<script>
-if (window.testRunner)
- testRunner.dumpEditingCallbacks();
-</script>
-
-<script>
-function runTest() {
- var s = window.getSelection();
- var e = document.getElementById("test");
-
- e.focus();
- document.execCommand("InsertText", false, "\t");
- document.execCommand("InsertText", false, "This tests to see where the selection is set when an html element is focused.");
- document.execCommand("InsertHTML", false, "<br>We set it inside the body because we don't want to allow editing outside the body. This test also does some editing to make sure it happens in the body.");
-}
-</script>
-<body onLoad="runTest();">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698