Bug 226648

Summary: Web Inspector: Styles: Do not show inherited CSS variables found in declared but unused CSS variables on matching styles
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: NEW    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Razvan Caliman
Reported 2021-06-04 09:30:49 PDT
Follow-up to https://webkit.org/b/225972 In the Styles details sidebar panel, an unused inherited variable is shown if found in the value of a declared but unused variable on the matching styles. ``` div { --never-used: var(--never-used-inherited); } html { --never-used-inherited: red; } ``` Expected: `--never-used-inherited` from inherited styles should be hidden because it is not _actually used_.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-04 09:31:15 PDT
Note You need to log in before you can comment on or make changes to this bug.