Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c5064e5e284d10414bb3d55f3603729687f99260
https://github.com/WebKit/WebKit/commit/c5064e5e284d10414bb3d55f3603729687f99260
Author: Patrick Angle <[email protected]>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M LayoutTests/inspector/css/getMatchedStylesForNode.html
A
LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId-expected.txt
A LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html
M Source/WebCore/inspector/agents/InspectorCSSAgent.cpp
Log Message:
-----------
Web Inspector: Don't show `::backdrop` rules for elements without a backdrop
https://bugs.webkit.org/show_bug.cgi?id=251466
rdar://104889944
Reviewed by Tim Nguyen.
`::backdrop` only applies to elements in the top layer. Like `::marker`, we
should not display this selector for elements it can't apply to.
* LayoutTests/inspector/css/getMatchedStylesForNode.html:
*
LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId-expected.txt:
Added.
* LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html: Added.
* Source/WebCore/inspector/agents/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::getMatchedStylesForNode):
Canonical link: https://commits.webkit.org/259894@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes