Fix prefers-contrast media queries in aboutwelcome.scss
Categories
(Firefox :: Messaging System, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: aminomancer, Assigned: aminomancer)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Firefox generally uses @media (prefers-contrast)
for HCM related styles, but we have some rules in aboutwelcome.scss that read @media (prefers-contrast: more)
. I'm not sure how often this matters, but at least in theory, the HCM styles from common/common-shared.css will be applying to the surfaces that load aboutwelcome.css when prefers-contrast: less
or prefers-contrast: custom
.
Also, in bug 1790396 Emily added @media (prefers-contrast)
rules to _feature-callout.scss, since the rules on Firefox View use that query. So to make sure all these rules are applying under exactly the same conditions, we should use the same query in all cases (unless we end up adding rules for very specific contrast themes, but there don't seem to be any instances of that in the Firefox code, not counting test cases)
Assignee | ||
Comment 1•3 years ago
|
||
I suspect one possible area where this matters may be in forced colors mode, but I haven't done any testing yet.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
The severity field is not set for this bug.
:tspurway, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Description
•