Bug 200259 - Calling beginElement/endElement with the same offset does not run the animation
Summary: Calling beginElement/endElement with the same offset does not run the animation
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://wpt.live/svg/animations/script...
Keywords: WPTImpact
Depends on:
Blocks: 200143
  Show dependency treegraph
 
Reported: 2019-07-29 17:08 PDT by Said Abou-Hallawa
Modified: 2023-11-13 17:28 PST (History)
2 users (show)

See Also:


Attachments
test case (298 bytes, image/svg+xml)
2019-07-29 17:10 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2019-07-29 17:08:53 PDT
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 <set> element. If we omit calling endElement(), the bug does not happen.
Comment 1 Said Abou-Hallawa 2019-07-29 17:10:20 PDT
Created attachment 375129 [details]
test case
Comment 3 Ahmad Saleem 2023-01-21 06:49:31 PST
It is still failing in Safari 16.2 & STP161. Added 'WPTImpact' keyword and link to testcase from WPT.
Comment 4 Ahmad Saleem 2023-11-13 17:28:50 PST
Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/1400663