Closed
Bug 1911525
Opened 2 years ago
Closed 2 years ago
Rule view shows CSS variable value in declaration instead of declaration text when variable uses light-dark()
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)
Details
Attachments
(1 external file)
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><style>body {--bg: light-dark(red, blue); background: var(--bg); }</style> - Open the inspector and select the
bodynode
Expected results
There's a background: var(--bg) declaration
Actual results
There's a background-color: light-dark(red, blue) declaration (the value is the variable value)
| Assignee | ||
Updated•2 years ago
|
Summary: Rule view shows CSS variable value in declaration instead of declaration text → Rule view shows CSS variable value in declaration instead of declaration text when variable uses light-dark()
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d693bec567a
[devtools] Fix output parser for CSS variable using light-dark(). r=devtools-reviewers,bomsy.
Comment 3•2 years ago
•
|
||
Backed out alongside Bug 1911510, Bug 1626234, Bug 1911524 for causing dt failures on browser_rules_variables_autocomplete.js
Flags: needinfo?(nchevobbe)
| Assignee | ||
Comment 4•2 years ago
|
||
(In reply to Norisz Fay [:noriszfay] from comment #3)
Backed out alongside Bug 1911510, Bug 1626234, Bug 1911524 for causing dt failures on browser_rules_variables_autocomplete.js
Issue is in Bug 1911524 , I'll fix the test failure for it, and land the other patches in the meantime, as they shouldn't depend on it
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6df42844940a
[devtools] Fix output parser for CSS variable using light-dark(). r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 2 years 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
•