[webkit-changes] [WebKit/WebKit] d71fb1: CSS Keyframes names can't be CSS wide keywords

Dean Jackson noreply at github.com
Mon Oct 17 12:29:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d71fb1b829e793d50dc0d909865611cdb22e5589
      https://github.com/WebKit/WebKit/commit/d71fb1b829e793d50dc0d909865611cdb22e5589
  Author: Dean Jackson <dino at apple.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid-expected.txt
    M Source/WebCore/css/parser/CSSParserImpl.cpp

  Log Message:
  -----------
  CSS Keyframes names can't be CSS wide keywords
https://bugs.webkit.org/show_bug.cgi?id=246596
rdar://101226253

Reviewed by Tim Nguyen.

The CSS Animations and CSS Values specifications require identifier-based
keyframes names to not be CSS wide keywords, nor "default", nor "none".

* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid-expected.txt:
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::CSSParserImpl::consumeKeyframesRule): Forbid the invalid names.

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




More information about the webkit-changes mailing list