<?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>23911</bug_id>
          
          <creation_ts>2013-11-25 09:40:33 +0000</creation_ts>
          <short_desc>[Proposal] Add KeyboardEvent.isComposing attribute</short_desc>
          <delta_ts>2014-04-08 02:47:52 +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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>25287</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Masayuki Nakano">masayuki</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>garykac</cc>
    
    <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>96770</commentid>
    <comment_count>0</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-11-25 09:40:33 +0000</bug_when>
    <thetext>This might be better to move UI Events, though.

I&apos;d like to suggest that KeyboardEvent should have .isComposing attribute which is true if the key event is dispatched between compositionstart and compositionend. This attribute is useful for handling key events only when there is no composition.

For example:
                                       isComposing
keydown &apos;s&apos;                            false
compositionstart &apos;&apos;
compositionupdate &apos;s&apos;
beforeinput &apos;s&apos;
DOM change occurs
input &apos;s&apos;
keyup &apos;s&apos;                              true
keydown &apos;Enter&apos;                        true
beforeinput &apos;s&apos;
DOM change occurs
input &apos;s&apos;
compsitionend &apos;s&apos;
keyup &apos;Enter&apos;                          false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103495</commentid>
    <comment_count>1</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2014-04-07 18:37:22 +0000</bug_when>
    <thetext>Fixed in latest ED.

Section 5.2.7.5 &quot;Key Events During Composition&quot; has also been updated with info about isComposing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>