[webkit-changes] [WebKit/WebKit] 7c27f4: Support <string> as unprefixed keyframe name

Jason noreply at github.com
Tue Sep 13 10:06:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c27f43d202e23493592f5740da767d73d2ae8b7
      https://github.com/WebKit/WebKit/commit/7c27f43d202e23493592f5740da767d73d2ae8b7
  Author: Jason <m.jason.liu at outlook.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M Source/WebCore/css/parser/CSSParserImpl.cpp
    M Source/WebCore/css/parser/CSSParserImpl.h

  Log Message:
  -----------
  Support <string> as unprefixed keyframe name
https://bugs.webkit.org/show_bug.cgi?id=245132

Reviewed by Tim Nguyen.

Source: https://drafts.csswg.org/css-animations/#keyframes

> Keyframes are specified using the @keyframes at-rule, defined as follows:
> @keyframes = @keyframes <keyframes-name> { <rule-list> }
> <keyframes-name> = <custom-ident> | <string>

* Source/WebCore/css/parser/CSSParserImpl.cpp:
(CSSParserImpl::consumeAtRule):
(CSSParserImpl::consumeKeyframesRule):
* Source/WebCore/css/parser/CSSParserImpl.h:

Canonical link: https://commits.webkit.org/254444@main




More information about the webkit-changes mailing list