[webkit-changes] [WebKit/WebKit] 321f67: [CSS] Allow {} only as whole value of a property

Matthieu Dubet noreply at github.com
Fri Aug 16 18:59:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 321f676e35e6f1c729b0aeb26f866fafca2e6b2e
      https://github.com/WebKit/WebKit/commit/321f676e35e6f1c729b0aeb26f866fafca2e6b2e
  Author: Matthieu Dubet <m_dubet at apple.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-syntax/var-with-blocks-expected.txt
    M Source/WebCore/css/parser/CSSVariableParser.cpp

  Log Message:
  -----------
  [CSS]  Allow {} only as whole value of a property
https://bugs.webkit.org/show_bug.cgi?id=276825
rdar://132102189

Reviewed by Antti Koivisto.

https://github.com/w3c/csswg-drafts/commit/77e96017716572ffdc84da087fc10c9929a0d54e

This only applies to regular properties. Custom properties
can still include whatever.

* LayoutTests/imported/w3c/web-platform-tests/css/css-syntax/var-with-blocks-expected.txt:
* Source/WebCore/css/parser/CSSVariableParser.cpp:
(WebCore::classifyBlock):
(WebCore::isValidVariableReference):
(WebCore::isValidConstantReference):
(WebCore::classifyVariableRange):
(WebCore::CSSVariableParser::containsValidVariableReferences):

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



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


More information about the webkit-changes mailing list