<?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>200259</bug_id>
          
          <creation_ts>2019-07-29 17:08:53 -0700</creation_ts>
          <short_desc>Calling beginElement/endElement with the same offset does not run the animation</short_desc>
          <delta_ts>2024-06-19 12:37:14 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://wpt.live/svg/animations/scripted/end-element-on-inactive-element.svg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>200143</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1556830</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-07-29 17:08:53 -0700</bug_when>
    <thetext>Open the attached test case.

Result: A red rectangle is rendered.
Expected: A green rectangle is rendered.

This bug happens because twe call beginElement/endElement with the same time offset on the &lt;set&gt; element. If we omit calling endElement(), the bug does not happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556831</commentid>
    <comment_count>1</comment_count>
      <attachid>375129</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-07-29 17:10:20 -0700</bug_when>
    <thetext>Created attachment 375129
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1556832</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-07-29 17:10:54 -0700</bug_when>
    <thetext>Failed WPT test: http://web-platform-tests.live/svg/animations/scripted/end-element-on-inactive-element.svg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927101</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-21 06:49:31 -0800</bug_when>
    <thetext>It is still failing in Safari 16.2 &amp; STP161. Added &apos;WPTImpact&apos; keyword and link to testcase from WPT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992323</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-11-13 17:28:50 -0800</bug_when>
    <thetext>Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/1400663</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2041170</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-06-13 08:49:41 -0700</bug_when>
    <thetext>PR - https://github.com/WebKit/WebKit/pull/29783

Test locally and it progress this test case and also WPT as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042142</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-06-19 12:36:46 -0700</bug_when>
    <thetext>Committed 280184@main (a937e1c8a1a3): &lt;https://commits.webkit.org/280184@main&gt;

Reviewed commits have been landed. Closing PR #29783 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042143</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-06-19 12:37:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/130163227&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>375129</attachid>
            <date>2019-07-29 17:10:20 -0700</date>
            <delta_ts>2019-07-29 17:10:20 -0700</delta_ts>
            <desc>test case</desc>
            <filename>test282.svg</filename>
            <type>image/svg+xml</type>
            <size>298</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogCTxyZWN0IHdpZHRoPSIx
MDAiIGhlaWdodD0iMTAwIiBmaWxsPSJyZWQiPgogICAJCTxzZXQgaWQ9ImFuaW0iIGF0dHJpYnV0
ZU5hbWU9ImZpbGwiIHRvPSJncmVlbiIgYmVnaW49ImluZGVmaW5pdGUiLz4KIAk8L3JlY3Q+CiAJ
PHNjcmlwdD4KICAgIAlsZXQgYW5pbSA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJhbmltIik7
CiAgICAJYW5pbS5iZWdpbkVsZW1lbnQoKTsKICAgIAlhbmltLmVuZEVsZW1lbnQoKTsKIAk8L3Nj
cmlwdD4KPC9zdmc+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>