[webkit-changes] [WebKit/WebKit] efc0f1: [@property] Support `<string>` syntax

Tim Nguyen noreply at github.com
Mon Aug 5 21:31:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: efc0f113eb42c4e163ea52b79a69ff11dba104d9
      https://github.com/WebKit/WebKit/commit/efc0f113eb42c4e163ea52b79a69ff11dba104d9
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property.html
    M Source/WebCore/css/parser/CSSCustomPropertySyntax.cpp
    M Source/WebCore/css/parser/CSSCustomPropertySyntax.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp

  Log Message:
  -----------
  [@property] Support `<string>` syntax
https://bugs.webkit.org/show_bug.cgi?id=277655
rdar://133250776

Reviewed by Darin Adler.

Add support for `<string>` syntax as per: https://github.com/w3c/css-houdini-drafts/commit/b8ff3ab49df009f5d86c76b582bedf4857f4b457

WPT synced from: https://github.com/web-platform-tests/wpt/pull/43757

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property.html:
* Source/WebCore/css/parser/CSSCustomPropertySyntax.cpp:
(WebCore::CSSCustomPropertySyntax::typeForTypeName):
* Source/WebCore/css/parser/CSSCustomPropertySyntax.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeCustomPropertyValueWithSyntax):
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):

Canonical link: https://commits.webkit.org/281872@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