Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ec6791966b1e356505e689cd37860f45fdce449c
https://github.com/WebKit/WebKit/commit/ec6791966b1e356505e689cd37860f45fdce449c
Author: Antti Koivisto <[email protected]>
Date: 2025-09-17 (Wed, 17 Sep 2025)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor.html
M Source/WebCore/style/StyleScope.cpp
Log Message:
-----------
Anchoring a pseudo element to a slotted element in a Shadow DOM causes
browser crash
https://bugs.webkit.org/show_bug.cgi?id=298646
rdar://160291579
Reviewed by Simon Fraser and Alan Baradlay.
Tests:
imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor-ref.html
imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor.html
*
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/pseudo-element-with-slotted-anchor.html:
Added.
* Source/WebCore/style/StyleScope.cpp:
(WebCore::Style::Scope::forOrdinal):
For PseudoElements use the scope of the host element.
Canonical link: https://commits.webkit.org/300086@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