Bug 241733

Summary: optimize CSS JIT for `:target`
Product: WebKit Reporter: Devin Rousso <hi>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Devin Rousso
Reported 2022-06-17 16:55:24 PDT
we're not doing the most optimal thing right now because Web Inspector is able to override the normal path, which is not a simple check. ideally we'd have the existing logic that compares the `Element*` with `Document::cssTarget` and then have a fastpath check for Web Inspector being enabled, with a slowpath if so
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-24 16:56:12 PDT
Note You need to log in before you can comment on or make changes to this bug.