<?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>23258</bug_id>
          
          <creation_ts>2013-09-16 21:42:47 +0000</creation_ts>
          <short_desc>Consider composition event order relative to IME API info when choosing to update DOM after compositionupdate...</short_desc>
          <delta_ts>2013-12-04 01:37:34 +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 - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93457</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-09-16 21:42:47 +0000</bug_when>
    <thetext>I previously thought it would be good to change the compositionupdate event to fire before the value of the input element is changed in the DOM.

However, in an internal review around the IME API, it seems we may want to reconsider this.

The scenario is that the IME API introduces additional information that can be observed during an IME composition. This information includes (but is not limited to) the character indexes where the active composition is taking place, the current candidate window placement or exclusion rectangle, etc. It is expected that web developers will interact with the IME API during a composition, primarily those triggered by compositionupdate events. If the DOM is not yet updated until after compositionupdate fires, then usage of the IME API (relative to the content in the DOM) will be slightly out-of-date (to be refreshed in the DOM immediately after compositionupdate is finished dispatching.

A suggestion in the current IME API is to possibly include some of the state-full information on the composition events themselves, but we should probably have a discussion on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97094</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2013-12-04 01:37:34 +0000</bug_when>
    <thetext>IME API has substantively changed and this needs to be re-reviewed in light of that change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>