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 Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/78872576>