Open
Bug 2032972
Opened 1 month ago
Updated 1 month ago
Add jump to CSS variable button in @container style() queries
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
In the rules view, for var() in declaration value, we have a button that allows to jump to the declaration of the variable.
It would be nice to have the same thing for style query (e.g. style(--x ↱), style(var(--y ↱))
Of course we'd need to select the declaration in the container element, so if you have something like
main {
container-name: ctnr;
--x: red;
}
@container ctnr style(--x) {
h1 {
--x: blue;
}
}
clicking on the button will focus the --x: red declaration, not the --x: blue one
Updated•1 month ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•