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

Unified Diff: LayoutTests/fast/ime/html-inputmethodcontext.html

Issue 1162853002: Remove IME API from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove interface in WebWidgets.h Created 5 years, 7 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/fast/ime/html-inputmethodcontext.html
diff --git a/LayoutTests/fast/ime/html-inputmethodcontext.html b/LayoutTests/fast/ime/html-inputmethodcontext.html
deleted file mode 100644
index 6058863485b07c5a85251508ea5524f7f13c44a1..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/ime/html-inputmethodcontext.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<input id="input"><input id="input2">
-<script>
-description("This tests inputMethodContext attribute which is an additional interface for HTMLElement.");
-
-var html = document.documentElement;
-
-// Checks creating an InputMethodContext object via new throws exception.
-shouldThrow('new InputMethodContext()');
-
-// Checks existence of .inputMethodContext attribute.
-shouldBeNonNull(html.inputMethodContext);
-shouldBeEqualToString('typeof(html.inputMethodContext)', 'object');
-
-// Checks inputMethodContext returns an InputMethodContext object.
-var context = html.inputMethodContext;
-shouldBeTrue('context instanceof InputMethodContext');
-
-// Checks the same InputMethodContext objects are returned from an element.
-var context2 = html.inputMethodContext;
-shouldBeTrue('context2 instanceof InputMethodContext');
-shouldBeTrue('context === context2');
-
-// Checks if contexts for different elements are different.
-var inputContext = document.getElementById('input').inputMethodContext;
-var input2Context = document.getElementById('input2').inputMethodContext;
-shouldNotBe('inputContext', 'input2Context');
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/ime/composition-offsets-expected.txt ('k') | LayoutTests/fast/ime/html-inputmethodcontext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698