Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Only override to default color in high-contrast / forced-color…
…s mode if inheriting from transparent. That way elements inside links, form controls, etc have the right contrast, even if the page overrides the color. We can't do it when inheriting from transparent because we've already forgotten about the "right" color to inherit, so the default color makes sense. But that is a pretty unlikely edge case. Differential Revision: https://phabricator.services.mozilla.com/D73069
- Loading branch information