[Webkit-unassigned] [Bug 229437] New: Redefining @keyframes does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 21:05:07 PDT 2021


            Bug ID: 229437
           Summary: Redefining @keyframes does not work
           Product: WebKit
           Version: Safari 14
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at muanchiou.com
                CC: dino at apple.com, graouts at apple.com

Created attachment 436262

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

HTML file illustrating the problem.

After a named @keyframes is defined, re-defining it by setting the styles again via script does not work.

In the attachment, clicking on "change color" will replace the CSS with an alternate animation color. This works in Chrome 92 as well as Firefox 91.

The demo opt to replace the style tag instead of resetting the style tag content because of https://bugs.webkit.org/show_bug.cgi?id=191265. 

This problem might be related to https://bugs.webkit.org/show_bug.cgi?id=201736 where CSS variables changes are found ineffective when used in keyframes.

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/20210824/b7d0e006/attachment.htm>

More information about the webkit-unassigned mailing list