<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22196</bug_id>
          
          <creation_ts>2013-05-29 08:25:52 +0000</creation_ts>
          <short_desc>Clarification of InputMethodContext behavior when an element losts focus.</short_desc>
          <delta_ts>2013-07-04 09:14:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - IME API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoichi Osato">yoichio</reporter>
          <assigned_to name="Takayoshi Kochi">kochi</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88369</commentid>
    <comment_count>0</comment_count>
    <who name="Yoichi Osato">yoichio</who>
    <bug_when>2013-05-29 08:25:52 +0000</bug_when>
    <thetext>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&apos;t open IME immediately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90345</commentid>
    <comment_count>1</comment_count>
    <who name="Takayoshi Kochi">kochi</who>
    <bug_when>2013-07-04 09:14:56 +0000</bug_when>
    <thetext>As we will drop .enabled and open() from the spec, I think most of the
concerns here are already addressed.

I added a note in the spec that accessing IME when the target element does not have
focus is almost meaningless.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>