https://www.w3.org/Bugs/Public/show_bug.cgi?id=22196
Bug ID: 22196
Summary: Clarification of InputMethodContext behavior when an
element losts focus.
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: IME API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Some attributes/methods in InputMethodContext look working well under condition
that on an element with keyboard focus.
So how do they do when the element loses focus?
attribute Composition composition;
This must be null because an IME is not composing text of course.
attribute boolean enabled;
As http://w3.hasb.ug/22028 says, this attribute should be considered.
attribute DOMString locale;
This attribute may not change by focusing.
void confirmComposition ();
Just do nothing like composition attribute.
void setCaretRectangle (Node anchor, long x, long y, long w, long h);
void setExclusionRectangle (Node anchor, long x, long y, long w, long h);
These methods prepare the rectangle when an element gets focus and shows
candidate window.
boolean open ();
It is natural that if an element gets focus, it is associated to IME. But it
is little strange that to call open() method doesn't open IME immediately.
--
You are receiving this mail because:
You are on the CC list for the bug.