[webkit-changes] [WebKit/WebKit] fee955: [@property] CSS custom properties containing var()...

Antti Koivisto noreply at github.com
Wed Jan 11 07:38:16 PST 2023


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

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-animation-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-animation.html
    M Source/WebCore/style/PropertyCascade.cpp

  Log Message:
  -----------
  [@property] CSS custom properties containing var() are not updated when the referenced property is animated
https://bugs.webkit.org/show_bug.cgi?id=250448
rdar://104080598

Reviewed by Antoine Quint.

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-animation-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-animation.html:
* Source/WebCore/style/PropertyCascade.cpp:
(WebCore::Style::PropertyCascade::shouldApplyAfterAnimation):

Also check for custom properties containing var() when figuring out the post-animation cascade.

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




More information about the webkit-changes mailing list