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

Unified Diff: LayoutTests/editing/selection/5779984-1.html

Issue 17225002: Make user-select:none not to affect editability (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-06-19T18:10:01 Created 7 years, 6 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: LayoutTests/editing/selection/5779984-1.html
diff --git a/LayoutTests/editing/selection/5779984-1.html b/LayoutTests/editing/selection/5779984-1.html
deleted file mode 100644
index 08431abd53e02c237302dfd313b681b1716d4f1e..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/selection/5779984-1.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<div id="description">This tests setting the WebkitUserSelect property on a CSSStyleDeclaration.</div>
-<div contenteditable="true" id="test">This text should not be selectable.</div>
-
-<script>
-if (window.testRunner)
- window.testRunner.dumpAsText();
-div = document.getElementById("test");
-text = div.firstChild;
-if (div.style.WebkitUserSelect == undefined)
- document.write("FAILURE: CSSStyleDeclaration::WebkitUserSelect was undefined.<br>");
-div.style.WebkitUserSelect = "none";
-s = window.getSelection();
-s.setBaseAndExtent(text, 1, text, 2);
-if (s.type != "None")
- document.write("FAILURE: Setting -webkit-user-select to none did not have the expected effect. Setting the selection did not fail.<br>");
-
-document.write("This test passed if you see no failure messages.")
-</script>
« no previous file with comments | « LayoutTests/editing/selection/4866671-expected.txt ('k') | LayoutTests/editing/selection/5779984-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698