<?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>63550</bug_id>
          
          <creation_ts>2011-06-28 11:50:36 -0700</creation_ts>
          <short_desc>SMIL endElement causes animation to jump to end state</short_desc>
          <delta_ts>2011-08-27 23:20:32 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>41761</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jchaffraix</cc>
    
    <cc>joybro201</cc>
    
    <cc>krit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>429048</commentid>
    <comment_count>0</comment_count>
      <attachid>98953</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-06-28 11:50:36 -0700</bug_when>
    <thetext>Created attachment 98953
Testcase

In WebKit, calling endElement on an SMIL animation causes the animation to jump to the end state. In Gecko and Opera, it causes the animation to pause in place, without jumping to the end state.

Steps to Reproduce:

1. Open the attached testcase.
2. Click the green button.
3. Click the red button.

Expected Outcome:

The circle stops moving and remains in its current location.

Actual Outcome:

The circle stops moving and jumps to the location it would be in had the animation run to completion.

There is a significant disparity between the way [Opera, Gecko] and WebKit handle this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429050</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-06-28 11:52:07 -0700</bug_when>
    <thetext>*** Bug 59897 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429082</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-06-28 12:52:35 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 63553 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429097</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-06-28 13:12:44 -0700</bug_when>
    <thetext>Sorry, this bug is no duplication.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>457995</commentid>
    <comment_count>4</comment_count>
    <who name="Young Han Lee">joybro201</who>
    <bug_when>2011-08-27 19:31:19 -0700</bug_when>
    <thetext>This bug is resolved by bug 63553.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>457997</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2011-08-27 23:20:32 -0700</bug_when>
    <thetext>Close bug according to comment of Young Han.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>98953</attachid>
            <date>2011-06-28 11:50:36 -0700</date>
            <delta_ts>2011-06-28 11:50:36 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>avt.svg</filename>
            <type>image/svg+xml</type>
            <size>1000</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8
c3ZnCiAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOT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