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

Unified Diff: LayoutTests/platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html
diff --git a/LayoutTests/platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html b/LayoutTests/platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html
deleted file mode 100644
index 31d7d58feddbfcf549096a7766aa3dbb5a3a4084..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>
-<head>
-<script src=../../../../fast/js/resources/js-test-pre.js language="javascript" type="text/javascript"></script>
-<title>Testing moving cursor to a misspelled word</title>
-</head>
-<body>
-<div id="src" contenteditable="true" spellcheck="true"></div><br/>
-<script language="javascript">
-description('Test if Chrome WebKit does not remove a misspelled marker when moving a cursor on a misspelled word.' +
- 'To test manually, type a misspelled word "zz " and type a left-arrow key to move the cursor on it.' +
- 'This test succeeds when "zz" is marked as misspelled.');
-
-internals.settings.setAsynchronousSpellCheckingEnabled(true);
-var node = document.getElementById('src');
-node.focus();
-document.execCommand("InsertText", false, 'z');
-document.execCommand("InsertText", false, 'z');
-document.execCommand("InsertText", false, ' ');
-window.getSelection().modify('move', 'backward', 'character');
-shouldBeTrue('internals.hasSpellingMarker(document, 0, 2)');
-</script>
-<script src="../../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698