Bug 241733 - optimize CSS JIT for `:target`
Summary: optimize CSS JIT for `:target`
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2022-06-17 16:55 PDT by Devin Rousso
Modified: 2022-06-24 16:56 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 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
Comment 1 Radar WebKit Bug Importer 2022-06-24 16:56:12 PDT