[webkit-changes] [WebKit/WebKit] 33ede3: [@property][TypedOM] Reify custom property values ...

Antti Koivisto noreply at github.com
Tue Jan 10 09:46:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 33ede35610f8b0cc50cccd446a1f72384d04beaa
      https://github.com/WebKit/WebKit/commit/33ede35610f8b0cc50cccd446a1f72384d04beaa
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-typedom-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/typedom-expected.txt
    M Source/WebCore/css/typedom/CSSStyleValueFactory.cpp
    M Source/WebCore/css/typedom/CSSStyleValueFactory.h
    M Source/WebCore/css/typedom/StylePropertyMapReadOnly.cpp

  Log Message:
  -----------
  [@property][TypedOM] Reify custom property values with syntax
https://bugs.webkit.org/show_bug.cgi?id=250375
rdar://104068961

Reviewed by Chris Dumez.

https://drafts.css-houdini.org/css-properties-values-api/#css-style-value-reification

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-typedom-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/typedom-expected.txt:
* Source/WebCore/css/typedom/CSSStyleValueFactory.cpp:
(WebCore::CSSStyleValueFactory::reifyValue):

Reify single values.

(WebCore::CSSStyleValueFactory::constructStyleValueForCustomPropertySyntaxValue):

Add a helper.

* Source/WebCore/css/typedom/CSSStyleValueFactory.h:
* Source/WebCore/css/typedom/StylePropertyMapReadOnly.cpp:
(WebCore::StylePropertyMapReadOnly::reifyValueToVector):

Reify list values.

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




More information about the webkit-changes mailing list