Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a1f35fcdd0a04a7bafbeba903e10bfe404dbf05
      
https://github.com/WebKit/WebKit/commit/3a1f35fcdd0a04a7bafbeba903e10bfe404dbf05
  Author: CGQAQ <[email protected]>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M LayoutTests/imported/w3c/resources/resource-files.json
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-edge-cases-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-edge-cases-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-edge-cases.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/w3c-import.log
    M Source/WebCore/css/parser/CSSParser.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp

  Log Message:
  -----------
  Treat empty string keyframes‘ name as invalid
https://bugs.webkit.org/show_bug.cgi?id=307325

Reviewed by Tim Nguyen.

This PR rejects "" at parsing time in favor of spec[1] changes.

[1] https://github.com/w3c/csswg-drafts/issues/7762

* LayoutTests/imported/w3c/resources/resource-files.json:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/keyframes-name-invalid.html:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/parsing/w3c-import.log:
* Source/WebCore/css/parser/CSSParser.cpp:
(WebCore::CSSParser::consumeKeyframesRule):
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Animations.cpp:
(WebCore::CSSPropertyParserHelpers::consumeKeyframesName):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to