Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab883ac44d669e6dc2b9ac0f17f8dba8d910aa5c
      
https://github.com/WebKit/WebKit/commit/ab883ac44d669e6dc2b9ac0f17f8dba8d910aa5c
  Author: Kiet Ho <[email protected]>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/at-position-try-cssom-expected.txt
    M Source/WebCore/css/parser/CSSParserFastPaths.cpp

  Log Message:
  -----------
  Don't use CSSParserFastPaths to parse declarations inside at-rules
rdar://152190645
https://bugs.webkit.org/show_bug.cgi?id=293710

Reviewed by Tim Nguyen and Antti Koivisto.

At-rules like @keyframes or @position-try restrict what CSS properties
can be declared in the rule. This logic is present in the "slow"-path
parser (CSSPropertyParser) but not in the fast path parser. Since it's
rare to parse at-rules with declarations inside anyway, this patch
forces declarations inside at-rules to use the slow path instead
of the fast path.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/at-position-try-cssom-expected.txt:
* Source/WebCore/css/parser/CSSParserFastPaths.cpp:
(WebCore::parseKeywordValue):
(WebCore::CSSParserFastPaths::maybeParseValue):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to