<?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>25291</bug_id>
          
          <creation_ts>2014-04-08 08:00:37 +0000</creation_ts>
          <short_desc>Should define input event should be fired after compositionend</short_desc>
          <delta_ts>2014-04-16 01:19:44 +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>All</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>
          
          <blocked>25288</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Masayuki Nakano">masayuki</reporter>
          <assigned_to name="Gary Kacmarcik">garykac</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>103551</commentid>
    <comment_count>0</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2014-04-08 08:00:37 +0000</bug_when>
    <thetext>Firefox, Chrome and IE on Windows and Firefox, Chrome and Safari on Mac fire input event after compositionend event.

So, I believe that this event order should be defined in D3E spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103919</commentid>
    <comment_count>1</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2014-04-15 23:41:23 +0000</bug_when>
    <thetext>In addition, we should be including beforeinput as well.

I&apos;ve updated section 5.2.7.6 &quot;Input Events During Composition&quot; based on our previous discussion (https://docs.google.com/document/d/1pGo9hmOXCu71lnpXbqpTQNQP70DU9E-1tNN3yEWg5ig/edit?usp=sharing):

----------------+------------------------------------------------
compositionend  |
----------------+------------------------------------------------
beforeinput     | Sent only if we’re about to update the DOM.
                |  Cancelling this will prevent the update and
                |  the input event.
----------------+------------------------------------------------
                | If DOM was not updated during composition,
                |  it is updated now
----------------+------------------------------------------------
input           | Sent only if the DOM was updated.
----------------+------------------------------------------------

Please review that section when you get a chance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103931</commentid>
    <comment_count>2</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2014-04-16 01:19:44 +0000</bug_when>
    <thetext>Current implementations, compositionend is just a notification. I.e., DOM change occurs before compositionend. Therefore, dispatching beforeinput after compositionend feels strange to me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>