Closed
Bug 1857526
Opened 2 years ago
Closed 1 year ago
CSS variable tooltip should show initial value of @property when variable is not set
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><script>CSS.registerProperty({ name: "--a", syntax: "<color>", inherits: false, initialValue: "gold" })</script><style>body { background: var(--a); }</style>Hello
- Open the inspector
- In the rule view, hover over
var(--a)
Expected results
the tooltip says that --a
is gold (the initial value of the registered property)
Actual results
the tooltip says --a is not set
, although the background is clearly gold
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
Reporter | ||
Comment 1•1 year ago
|
||
This was fixed in Bug 1841023
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•