Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4560c7e615dbcf3a0d3aa9193297ef30c29edcbd
https://github.com/WebKit/WebKit/commit/4560c7e615dbcf3a0d3aa9193297ef30c29edcbd
Author: Antti Koivisto <[email protected]>
Date: 2024-02-20 (Tue, 20 Feb 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-cascade-expected.txt
M Source/WebCore/style/StyleTreeResolver.cpp
M Source/WebCore/style/StyleTreeResolver.h
Log Message:
-----------
[@starting-style] Starting style should inherit from parent after-change style
https://bugs.webkit.org/show_bug.cgi?id=269781
rdar://123302667
Reviewed by Antoine Quint.
"Starting style inherits from the parent’s after-change style just like
after-change style does."
https://drafts.csswg.org/css-transitions-2/#defining-before-change-style
*
LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/starting-style-cascade-expected.txt:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveStartingStyle const):
Use lastStyleChangeEventStyle as the parent after-change style if there is one.
* Source/WebCore/style/StyleTreeResolver.h:
(WebCore::Style::TreeResolver::scope const):
(WebCore::Style::TreeResolver::parent const):
Canonical link: https://commits.webkit.org/275061@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