[Webkit-unassigned] [Bug 205732] New: CSS @keyframes rule doesn't cause animation if empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 3 10:08:36 PST 2020


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

            Bug ID: 205732
           Summary: CSS @keyframes rule doesn't cause animation if empty
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: smcgruer at chromium.org
                CC: dino at apple.com

Created attachment 386694

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

Reproduction of bug

It looks like WebKit requires the '@keyframes' CSS rule to contain at least one keyframe (even if that keyframe is empty) before it will actually create an animation. I'm not 100% sure what the spec says off-hand, but both Firefox and Chrome allow a completely empty @keyframes {}.

See the attached reproduction; on WebKit this just logs:

animating foo1
animating foo2
foo2: animationstart event

Whereas on Chrome/Firefox:

animating foo1
animating foo2
foo1: animationstart event
foo2: animationstart event

-- 
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/20200103/47574396/attachment.htm>


More information about the webkit-unassigned mailing list