<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>38114</bug_id>
          
          <creation_ts>2010-04-26 04:40:03 -0700</creation_ts>
          <short_desc>DOM api does not work on SMIL animation</short_desc>
          <delta_ts>2010-05-10 01:33:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>34301</dup_id>
          
          <bug_file_loc>http://svg.kvalitne.cz/mix/domapitoanimatemotion.svg</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="marek">marek.raida</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
    
    <cc>robin.webkit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>217007</commentid>
    <comment_count>0</comment_count>
      <attachid>54276</attachid>
    <who name="marek">marek.raida</who>
    <bug_when>2010-04-26 04:40:03 -0700</bug_when>
    <thetext>Created attachment 54276
testcase

DOM API method  beginElement() is supposed to work with every SMIL object/animation.
It is working well on animate, set, animateTransform, but it fails in animateMotion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221535</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Cao">robin.webkit</who>
    <bug_when>2010-05-06 00:27:39 -0700</bug_when>
    <thetext>The cause of this bug is that &apos;animateMotion&apos; element has no js wrapper.
The following is line#16 of WebCore/svg/svgtags.in:
animateMotion JSInterfaceName=SVGElement, createWithNew

Is there any reason that we did not generate a wrapper for &apos;animateMotion&apos;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223155</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2010-05-09 23:15:11 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; The cause of this bug is that &apos;animateMotion&apos; element has no js wrapper.
&gt; The following is line#16 of WebCore/svg/svgtags.in:
&gt; animateMotion JSInterfaceName=SVGElement, createWithNew
&gt; 
&gt; Is there any reason that we did not generate a wrapper for &apos;animateMotion&apos;?

I guess not. Am I wrong Niko?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223194</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-05-10 01:32:17 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; The cause of this bug is that &apos;animateMotion&apos; element has no js wrapper.
&gt; &gt; The following is line#16 of WebCore/svg/svgtags.in:
&gt; &gt; animateMotion JSInterfaceName=SVGElement, createWithNew
&gt; &gt; 
&gt; &gt; Is there any reason that we did not generate a wrapper for &apos;animateMotion&apos;?
&gt; 
&gt; I guess not. Am I wrong Niko?

SVGAnimateMotionElement.idl is just missing. We have some bug report covering this, I have to look it up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223195</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2010-05-10 01:33:51 -0700</bug_when>
    <thetext>Found it, please look at bug 34301. It&apos;s very easy to fix!

*** This bug has been marked as a duplicate of bug 34301 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>54276</attachid>
            <date>2010-04-26 04:40:03 -0700</date>
            <delta_ts>2010-04-26 04:40:03 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>domapitoanimatemotion.svg</filename>
            <type>image/svg+xml</type>
            <size>474</size>
            <attacher name="marek">marek.raida</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw
Oi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4NCiAgPHRpdGxlPlRlc3Qgb2YgRE9NIEFQSSB0byBz
dGFydCBBbmltYXRlTW90aW9uIEVsZW1lbnQ8L3RpdGxlPg0KDQogIDxjaXJjbGUgcj0iNSIgZmls
bD0iZ3JlZW4iPg0KICAgIDxhbmltYXRlTW90aW9uIGJlZ2luPSJpbmRlZmluaXRlIiBkdXI9IjVz
IiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgaWQ9ImFuaW0iIHBhdGg9Ik0xMCwxNTAgQTE1IDE1
IDE4MCAwIDEgNzAgMTQwIEExNSAyNSAxODAgMCAwIDEzMCAxMzAgQTE1IDU1IDE4MCAwIDEgMTkw
IDEyMCBBMTUgMTAgMTcwIDAgMSAxMCAxNTAiLz4NCiAgPC9jaXJjbGU+DQoNCiAgPHNjcmlwdD4N
CiAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiYW5pbSIpLmJlZ2luRWxlbWVudCgpOw0KICA8
L3NjcmlwdD4NCg0KPC9zdmc+
</data>

          </attachment>
      

    </bug>

</bugzilla>