[Webkit-unassigned] [Bug 236491] New: SVG SMIL restart="never" does not behave correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 11 01:06:04 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236491

            Bug ID: 236491
           Summary: SVG SMIL restart="never" does not behave correctly
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kari.pihkala at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Created attachment 451655

  --> https://bugs.webkit.org/attachment.cgi?id=451655&action=review

SVG SMIL restart.svg test case

The attached restart.svg test case shows three rectangles with SMIL animations and the restart attribute set to different values: "never", "always" and "whenNotActive".

The green rectangles (restart="always" and restart="whenNotActive") behave correctly. However, the blue rectangle with restart="never" does not behave correctly on Safari.

Steps to reproduce:

1. Open restart.svg
2. Click the blue rectangle.
3. Wait until the blue rectangle has moved up for a second and jumps back to its original position.
4. Click the blue rectangle again. The blue rectangle should not move again, but Safari moves it again. Safari behavior for restart="never" seems to match restart="whenNotActive".

Expected result: The blue rectangle is moved only once for the first click. Subsequent clicks don't animate the blue rectangle. Firefox and Chrome show the expected result.

Tested on Safari Version 15.3 (16612.4.9.1.7, 16612) and Safari Technology Preview Release 139 (Safari 15.4, WebKit 16613.1.14.41.2).

Here's the relevant specification: https://svgwg.org/specs/animations/#RestartAttribute

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220211/8e08e727/attachment-0001.htm>


More information about the webkit-unassigned mailing list