Closed
Bug 1859079
Opened 1 year ago
Closed 1 year ago
Inspector displays colours in new CSS Color 4 formats (e.g. OKLCH) as hex/named colours
Categories
(DevTools :: Inspector: Rules, defect)
Tracking
(relnote-firefox 120+, firefox120 fixed)
RESOLVED
FIXED
120 Branch
People
(Reporter: cpmsmith, Assigned: cpmsmith)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Thank you for helping make Firefox better. If you are reporting a defect, please complete the following:
What were you doing?
Please tell us what site you were on, and what steps led to the error you are reporting
devtools.defaultColorUnit
should be set toauthored
(the default value)- On any page, open Inspector
- On any element, set any property accepting a colour, e.g.
background
, to any value using a color-module-4 function, e.g.oklch(50% 0.3 10)
What happened?
The value is correctly applied—if you're applying it to the element inline, you can see it in the style
attribute—but in the Rules editor, the colour is converted to a named colour if one matches, or else a hex code.
What should have happened?
The Rules editor should show the colour in the format used to type it.
Anything else we should know?
This is observable in Nightly 2023-10-13
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → calum.p.m.smith
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c0c7c5bc7027
display new CSS level 4 colours correctly in Rules inspector. r=devtools-reviewers,ochameau
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Updated•1 year ago
|
relnote-firefox:
--- → 120+
You need to log in
before you can comment on or make changes to this bug.
Description
•