Chromium Code Reviews| 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) |
|
tkent
2013/06/19 03:50:40
A test to check existence of style.WebKitUserSelec
|
| - document.write("FAILURE: CSSStyleDeclaration::WebkitUserSelect was undefined.<br>"); |
| -div.style.WebkitUserSelect = "none"; |
|
tkent
2013/06/19 03:50:40
Ditto for updating style.WebKitUserSelect.
|
| -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> |