[Bug 22196] New: Clarification of InputMethodContext behavior when an element losts focus.

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: kochi@google.com
          Reporter: yoichio@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

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 the QA Contact for the bug.

Received on Wednesday, 29 May 2013 08:25:57 UTC