Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 099f5a48c35a5e9055eef45f36aef0234f9e8ee3
https://github.com/WebKit/WebKit/commit/099f5a48c35a5e9055eef45f36aef0234f9e8ee3
Author: Anne van Kesteren <[email protected]>
Date: 2026-03-21 (Sat, 21 Mar 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-user-agent-part-invalidation-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/css-scoping/slotted-user-agent-part-invalidation.html
M Source/WebCore/style/StyleInvalidator.cpp
Log Message:
-----------
Invalidate ::slotted nested pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=310355
Reviewed by Tim Nguyen.
When we have ::slotted pseudo-element rules we already performed
invalidation, except we did not go into user agent shadow trees to
invalidate the nodes there, which meant that nested pseudo-elements
were not properly invalidated.
Test:
imported/w3c/web-platform-tests/css/css-scoping/slotted-user-agent-part-invalidation.html
Upstream:
https://github.com/web-platform-tests/wpt/pull/58644
Canonical link: https://commits.webkit.org/309672@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications