CSS colors ActiveCaption and InactiveCaption are wrong
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: ygoe, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
Use the CSS colors "ActiveCaption" or "InactiveCaption" anywhere. Like in a userChrome.css file to style the tab bar to match the standard Windows title bar.
Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Yes, these keywords are marked as "deprecated" but give me a replacement? And they're still there.
Actual results:
- ActiveCaption is some blue-grey
- InactiveCaption is a little less saturated
These colours look like they want to be an approximation of the Windows 7 basic theme colours (without the transparency effects). Just that I'm using Windows 10 for many years now.
Expected results:
- ActiveCaption should be the Windows theme/accent colour as on the Windows 10 title bar of an active window
- InactiveCaption should be white as on the Windows 10 title bar of an inactive window
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
The severity field is not set for this bug.
:boris, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•4 years ago
|
||
These are the COLOR_ACTIVECAPTION and COLOR_INACTIVECAPTION from win32, so they are not incorrect. However:
- ActiveCaption should be the Windows theme/accent colour as on the Windows 10 title bar of an active window
We expose this color via the -moz-accent-color / -moz-accent-color-foreground color pair.
- InactiveCaption should be white as on the Windows 10 title bar of an inactive window
If Windows doesn't give us these colors via the ACTIVE/INACTIVECAPTION system colors, there's no color we can meaningfully return tbh.
Description
•