Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b8072782a834ba1f39f32ee9a55b40fb7adbf97
      
https://github.com/WebKit/WebKit/commit/3b8072782a834ba1f39f32ee9a55b40fb7adbf97
  Author: Antti Koivisto <[email protected]>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override.html
    M Source/WebCore/style/PropertyCascade.cpp
    M Source/WebCore/style/PropertyCascade.h

  Log Message:
  -----------
  [scroll-animations] 
https://scroll-driven-animations.style/demos/shrinking-header-shadow/css/ does 
not work
https://bugs.webkit.org/show_bug.cgi?id=284527
rdar://141356000

Reviewed by Antoine Quint.

After applyin animated properties we re-apply any propeties that might override 
them. In this case we re-apply
margin properties for <h2> because their UA stylesheet value uses em units 
which depend on the animated font-heighr
property. However author style overrides this value but that fails to happen 
because logical/physical property mismatch.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animate-font-size-with-margin-override.html:
 Added.
* Source/WebCore/style/PropertyCascade.cpp:
(WebCore::Style::PropertyCascade::mayOverrideExistingProperty):

Factor into a separate function.
Move the test for logical property group here so it happens before the test for 
animated properties where we bail out.

(WebCore::Style::PropertyCascade::addMatch):
* Source/WebCore/style/PropertyCascade.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to