Bug 251466 - Web Inspector: Don't show `::backdrop` rules for elements without a backdrop
Summary: Web Inspector: Don't show `::backdrop` rules for elements without a backdrop
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Patrick Angle
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-31 15:58 PST by Karl Dubost
Modified: 2023-02-06 08:54 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.