| Index: third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html b/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
|
| deleted file mode 100644
|
| index 98ddb819af230a7f3a39f66694dea8d1c5721b15..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -<script src="resources/util.js"></script>
|
| -</head>
|
| -<body>
|
| -<div id="container">
|
| - <input type="text" id="destination"/>
|
| -</div>
|
| -
|
| -<script>
|
| -
|
| -description("Spell check selects the misspelled word on context click in an input field. " +
|
| - "To test manually, type 'wellcome home.' and context-click on 'wellcome'. " +
|
| - "The test succeeds when 'wellcome' is selected after the context click.");
|
| -
|
| -initSpellTest("destination", "wellcome home.", function(textNode) {
|
| - var behaviors = ["win", "mac"];
|
| - for (var i = 0; i < behaviors.length; i++) {
|
| - internals.settings.setEditingBehavior(behaviors[i]);
|
| -
|
| - // Context click on "wellcome" to show the context menu.
|
| - var x = destination.offsetParent.offsetLeft + destination.offsetLeft + 40;
|
| - var y = destination.offsetParent.offsetTop + destination.offsetTop + destination.offsetHeight / 2;
|
| - eventSender.mouseMoveTo(x, y);
|
| - eventSender.contextClick();
|
| - // Esc key to hide the context menu.
|
| - eventSender.keyDown("Escape", null);
|
| -
|
| - shouldBeEqualToString("window.getSelection().toString()", "wellcome");
|
| - window.getSelection().removeAllRanges();
|
| -
|
| - // Context click on "home" to show the context menu.
|
| - var x = destination.offsetParent.offsetLeft + destination.offsetLeft + 80;
|
| - var y = destination.offsetParent.offsetTop + destination.offsetTop + destination.offsetHeight / 2;
|
| - eventSender.mouseMoveTo(x, y);
|
| - eventSender.contextClick();
|
| - // Esc key to hide the context menu.
|
| - eventSender.keyDown("Escape", null);
|
| -
|
| - // Context click should select correctly spelled words only with "win" editing behavior.
|
| - if (behaviors[i] == "mac")
|
| - shouldBeEqualToString("window.getSelection().toString()", "home");
|
| - else
|
| - shouldBeEqualToString("window.getSelection().toString()", "");
|
| - window.getSelection().removeAllRanges();
|
| - }
|
| -});
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|