Bug 251466

Summary: Web Inspector: Don't show `::backdrop` rules for elements without a backdrop
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   

Description Karl Dubost 2023-01-31 15:58:58 PST
Currently ::backdrop is visible for any elements in the Web Inspector. (reported by Simon Fraser)


a special case could be added to hide it in most cases, as it is already done for ::marker.
`if (pseudoId == PseudoId::Backdrop && !element->isInTopLayer())` (suggestion from Antti Koivisto)
Comment 1 Radar WebKit Bug Importer 2023-01-31 15:59:12 PST
<rdar://problem/104889944>
Comment 2 Patrick Angle 2023-02-03 17:39:34 PST
Pull request: https://github.com/WebKit/WebKit/pull/9638
Comment 3 EWS 2023-02-06 08:53:58 PST
Committed 259894@main (c5064e5e284d): <https://commits.webkit.org/259894@main>

Reviewed commits have been landed. Closing PR #9638 and removing active labels.