mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
52927ddd54
As per spec, see https://drafts.csswg.org/css-color-adjust/#color-scheme-effect: > In order to preserve expected color contrasts, in the case of embedded > documents typically rendered over a transparent canvas (such as > provided via an HTML iframe element), if the used color scheme of the > element and the used color scheme of the embedded document’s root > element do not match, then the UA must use an opaque canvas of the > Canvas color appropriate to the embedded document’s used color scheme > instead of a transparent canvas. After bug 1782596 we were using the preferred rather than used color-scheme, which is the right thing to do for prefers-color-scheme, but not for the canvas background. Differential Revision: https://phabricator.services.mozilla.com/D155831 |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |