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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/5240265.html

Issue 2740953004: Remove LayoutTests that test the now unsupported user-select: ignore (Closed)
Patch Set: Created 3 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/5240265.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/5240265.html b/third_party/WebKit/LayoutTests/editing/selection/5240265.html
deleted file mode 100644
index af90d839893ebc7456d1eb933db3e5072d9704af..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/selection/5240265.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<p>This tests to see that clicking on content outside of an editable region with -webkit-user-select: ignore doesn't remove the selection from the editable region. To run it manually, click on the button. The editable region should not be focused, but the text inside of it should be selected.</p>
-<input id="button" type="button" style="-webkit-user-select: ignore;" value="Click on me">
-<div id="div" contenteditable="true">This text should be selected.</div>
-
-<script>
-div = document.getElementById("div");
-sel = window.getSelection();
-sel.collapse(div, 0);
-document.execCommand("SelectAll");
-if (window.testRunner) {
- button = document.getElementById("button");
- x = button.offsetParent.offsetLeft + button.offsetLeft + button.offsetWidth / 2;
- y = button.offsetParent.offsetTop + button.offsetTop + button.offsetHeight / 2;
- eventSender.mouseMoveTo(x, y);
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698