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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/insertHorizontalRule.html

Issue 2172033003: Convert editing/execCommand/insertHorizontalRule.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-22T17:10:05 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/insertHorizontalRule.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insertHorizontalRule.html b/third_party/WebKit/LayoutTests/editing/execCommand/insertHorizontalRule.html
deleted file mode 100644
index 78a38ba6d75983478e53c3631ec6b175a1ed5c57..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/execCommand/insertHorizontalRule.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<script>
-if (window.testRunner)
- testRunner.dumpEditingCallbacks();
-</script>
-<p>These are tests for execCommand(InsertHorizontalRule).</p>
-
-<p>This test inserts an hr between 'foo' and 'bar'.</p>
-<div id="test1" contenteditable="true">foobar</div>
-
-<p>This test inserts an hr with id="hr" between 'foo' and 'bar', fetches the hr using its id, then removes it.</p>
-<div id="test2" contenteditable="true">foobar</div>
-
-<script type="text/javascript" src="../editing.js"></script>
-<script>
-var s = window.getSelection();
-var e;
-
-e = document.getElementById("test1");
-s.collapse(e, 0);
-moveSelectionForwardByCharacterCommand();
-moveSelectionForwardByCharacterCommand();
-moveSelectionForwardByCharacterCommand();
-document.execCommand("InsertHorizontalRule", false, "");
-
-e = document.getElementById("test2");
-s.collapse(e, 0);
-moveSelectionForwardByCharacterCommand();
-moveSelectionForwardByCharacterCommand();
-moveSelectionForwardByCharacterCommand();
-var id = "hr";
-document.execCommand("InsertHorizontalRule", false, id);
-var hr = document.getElementById(id);
-hr.parentNode.removeChild(hr);
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698