[Webkit-unassigned] [Bug 226648] New: Web Inspector: Styles: Do not show inherited CSS variables found in declared but unused CSS variables on matching styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 09:30:49 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226648

            Bug ID: 226648
           Summary: Web Inspector: Styles: Do not show inherited CSS
                    variables found in declared but unused CSS variables
                    on matching styles
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rcaliman at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

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_.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210604/f80f20cf/attachment-0001.htm>


More information about the webkit-unassigned mailing list