[webkit-changes] [WebKit/WebKit] 3e1018: [css-anchor-position-1] Collect anchor dependencies

Antti Koivisto noreply at github.com
Thu Sep 26 05:54:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e101866bc4be83d6de43e4b37b20c3d2141eeef
      https://github.com/WebKit/WebKit/commit/3e101866bc4be83d6de43e4b37b20c3d2141eeef
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-query-custom-property-registration-expected.txt
    M Source/WebCore/css/CSSValue.h
    M Source/WebCore/css/calc/CSSCalcTree+ComputedStyleDependencies.cpp
    M Source/WebCore/css/parser/CSSParserImpl.cpp
    M Source/WebCore/style/CustomPropertyRegistry.cpp

  Log Message:
  -----------
  [css-anchor-position-1] Collect anchor dependencies
https://bugs.webkit.org/show_bug.cgi?id=280396
rdar://136737352

Reviewed by Alan Baradlay.

* LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-query-custom-property-registration-expected.txt:
* Source/WebCore/css/CSSValue.h:
(WebCore::ComputedStyleDependencies::isComputationallyIndependent const):

Anchor functions are not computationally indepependent.

* Source/WebCore/css/calc/CSSCalcTree+ComputedStyleDependencies.cpp:
(WebCore::CSSCalc::collectComputedStyleDependencies):
* Source/WebCore/style/CustomPropertyRegistry.cpp:
(WebCore::Style::CustomPropertyRegistry::parseInitialValue):

Pass real parser context.

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