Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 18f19fda8506bd9b7fcc5109c656e7b22c40f8cb
https://github.com/WebKit/WebKit/commit/18f19fda8506bd9b7fcc5109c656e7b22c40f8cb
Author: Antti Koivisto <[email protected]>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/nesting-basic-expected.html
M
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/nesting-basic.html
M Source/WebCore/css/parser/CSSSelectorParser.cpp
Log Message:
-----------
Nesting selector can't be inlined if there is a tag selector in both compounds
https://bugs.webkit.org/show_bug.cgi?id=300113
rdar://161903063
Reviewed by Matthieu Dubet.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/nesting-basic-expected.html:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/nesting-basic-ref.html:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/nesting-basic.html:
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::resolveNestingParent):
Check if both the compound of the nesting selector and the last compound of the
nesting parent
have tag selectors. We can't inline if they do because CSS syntax only allows
one tag per compound
and the codebase has assumptions around that.
Canonical link: https://commits.webkit.org/301114@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