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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements.html

Issue 2689183003: Convert layout test move-up-down-should-skip-hidden-elements.html to performance test (Closed)
Patch Set: 2017-02-14T13:13:29 Created 3 years, 10 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/move-up-down-should-skip-hidden-elements-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements.html b/third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements.html
deleted file mode 100644
index cc5b8d966d5998c823c4e88c4144c1613c30295e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<title>Test moving up and down through non-renderered elements.</title>
-</head>
-<body>
-<div id="before" hidden></div>
-<h1 id="first_line">First line of rendered text</h1>
-<div id="after" hidden></div>
-
-<p id="description"></p>
-<div id="console"></div>
-
-<script>
-description("Test moving up and down through non-renderered elements. This test should execute quickly if it's working correctly; a timeout is a failure.");
-
-var before = document.getElementById("before");
-var after = document.getElementById("after");
-for (var i = 0; i < 1000; i++) {
- before.appendChild(document.createElement("meta"));
- after.appendChild(document.createElement("meta"));
-}
-
-function selectFirstLine() {
- var selection = document.getSelection();
- selection.removeAllRanges();
- var range = document.createRange();
- range.selectNode(document.getElementById("first_line"));
- selection.addRange(range);
-}
-
-for (var i = 0; i < 100; i++) {
- selectFirstLine();
- if (window.testRunner)
- testRunner.execCommand("MoveUpAndModifySelection");
-
- selectFirstLine();
- if (window.testRunner)
- testRunner.execCommand("MoveDownAndModifySelection");
-}
-
-before.textContent = "";
-after.textContent = "";
-
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/move-up-down-should-skip-hidden-elements-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698