Closed
Bug 1912285
Opened 1 year ago
Closed 1 year ago
Empty computed value isn't displayed in variable tooltip
Categories
(DevTools :: Inspector: Rules, defect, P3)
DevTools
Inspector: Rules
Tracking
(firefox131 fixed)
RESOLVED
FIXED
131 Branch
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Steps to reproduce
- Go to
data:text/html,<meta charset=utf8><style>body { --a: var(--b); --b: ; color: var(--a);}</style>Hello - Open the inspector
- Hover
--ain thecolordeclaration
Expected results
There is a "computed value" section in the tooltip, with an empty value
Actual results
There is no "computed value" section
| Assignee | ||
Comment 1•1 year ago
|
||
The #createNode function wasn't adding attribute if they
were empty, meaning that the data-variable-computed attribute
wouldn't be set for empty computed value (which are stil valid).
Note that this doesn't look great in the tooltip at the moment,
we may display empty values differently in Bug 1912267.
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37e81da12248
[devtools] Display empty computed value in var tooltip. r=devtools-reviewers,jdescottes.
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•