<?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>25477</bug_id>
          
          <creation_ts>2014-04-26 16:57:43 +0000</creation_ts>
          <short_desc>KeyboardEvent.initKeyboardEvent() needs correct</short_desc>
          <delta_ts>2014-05-09 19:36:36 +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>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="Arkadiusz Michalski (Spirit)">crimsteam</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>104489</commentid>
    <comment_count>0</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-04-26 16:57:43 +0000</bug_when>
    <thetext>Legacy  KeyboardEvent.initKeyboardEvent() method (https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#idl-interface-KeyboardEvent-initializers) doesn&apos;t fit into any implementations. 

IE missing &apos;detail&apos; and add &apos;locale&apos; (http://msdn.microsoft.com/en-us/library/ie/ff975297%28v=vs.85%29.aspx). Chrome is incompatible with D3E. In Firefox this method was implemented in Nightly 31 like D3E defined (https://bugzilla.mozilla.org/show_bug.cgi?id=930893) but breaks feature detection and fast removed (https://bugzilla.mozilla.org/show_bug.cgi?id=999645).

This should be somehow defined correctly or completely remove from the specification (if there is no compromise).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104769</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-04-30 00:31:03 +0000</bug_when>
    <thetext>I think we should align this with IE, which has been shipping this the longest, and then continue to support the &quot;deprecated&quot; state of this API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104770</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-04-30 00:34:54 +0000</bug_when>
    <thetext>(I also need to check initCompositionEvent... since &apos;locale&apos; may have been present also...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104772</commentid>
    <comment_count>3</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-04-30 03:09:35 +0000</bug_when>
    <thetext>initCompositionEvent() was already discussed and corrected:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25295#c3

but still with small bug with nullable for .locale (and maybe .data)
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25405#c2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105564</commentid>
    <comment_count>4</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-05-09 19:36:36 +0000</bug_when>
    <thetext>initKeyboardEvent has been reverted back to its earlier compatible argument list (similar to initCompositionEvent). I added a few notes in case anyone notices the oddity about these two method signatures. This should at least align with IE which has shipped this for quite a few years now.

https://dvcs.w3.org/hg/dom3events/rev/54f8f8612b94</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>