<?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>15338</bug_id>
          
          <creation_ts>2011-12-26 06:05:51 +0000</creation_ts>
          <short_desc>Remove the initAnimationEvent method</short_desc>
          <delta_ts>2012-10-02 00:24:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Animations</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>[easy]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>davve</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
    
    <cc>sylvaing</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62027</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2011-12-26 06:05:51 +0000</bug_when>
    <thetext>The new pattern for programmatic event creation adopted eg by DOM4, HTML5, etc. is to define constructors for events instead of init*Event methods.

For example, ProgressEvent is defined in this new style: &lt;http://www.w3.org/TR/2011/WD-progress-events-20110809/#interface-progressevent&gt;

The AnimationEvent should have a constructor and the initAnimationEvent method should be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63897</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-02-08 14:06:00 +0000</bug_when>
    <thetext>*** Bug 15247 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63898</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-02-08 14:06:12 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/www-style/2011Nov/0176.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66584</commentid>
    <comment_count>3</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-10 20:07:27 +0000</bug_when>
    <thetext>This sounds reasonable though there seeems to be interoperable support for the init*Event() methods. As such I&apos;d like to either:
a. Postpone the new pattern to the next level
b. Specify both (maybe marking the init* pattern as deprecated?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66629</commentid>
    <comment_count>4</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-04-12 04:13:25 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; This sounds reasonable though there seeems to be interoperable support for the
&gt; init*Event() methods.

initAnimationEvent is vendor-prefixed in Safari 5.1, not in WebKit nightly, and not implemented in Chrome.

&gt; As such I&apos;d like to either:
&gt; a. Postpone the new pattern to the next level

What does the next level mean? CSS4 Animations?

&gt; b. Specify both (maybe marking the init* pattern as deprecated?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66667</commentid>
    <comment_count>5</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-12 16:39:12 +0000</bug_when>
    <thetext>The method is supported by Firefox and IE10 as well as Safari. 

Yes, next Level -&gt; next version of this module. (Whether that should be 4 or 2 is for another day).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66673</commentid>
    <comment_count>6</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-04-13 01:05:15 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; The method is supported by Firefox and IE10 as well as Safari. 

It is vendor prefixed in Safari and I think it is gone in WebKit ToT.

&gt; Yes, next Level -&gt; next version of this module. (Whether that should be 4 or 2
&gt; is for another day).

It seems odd to introduce and deprecate an API in the first version of the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66674</commentid>
    <comment_count>7</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-13 01:14:00 +0000</bug_when>
    <thetext>That&apos;s still three browsers supporting it. I don&apos;t think it&apos;s that odd for a spec to reflect the state of implementations when there already is content built around it. Though to be completely honest I can&apos;t point to content that references this specific method so it may be entirely safe to remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66676</commentid>
    <comment_count>8</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-04-13 08:33:50 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Though to be completely honest I can&apos;t point to content that
&gt; references this specific method so it may be entirely safe to remove it.

That was the conclusion WebKit came to when it did a clean-up of a number of init*Event methods.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75008</commentid>
    <comment_count>9</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-10-02 00:24:23 +0000</bug_when>
    <thetext>Note: as suggested by Dominic, the fix follows the template of ProgressEvent. As this includes links to DOM4 ED we may have to tighten this up for LC/CR.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>