gecko-dev/docshell
Emilio Cobos Álvarez 52927ddd54 Bug 1787127 - Use used color-scheme (not preferred) to determine canvas background adjustments. r=tnikkel
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
2022-09-04 23:16:32 +00:00
..
base Bug 1787127 - Use used color-scheme (not preferred) to determine canvas background adjustments. r=tnikkel 2022-09-04 23:16:32 +00:00
build Bug 1770237: Part 14 - Update URILoader parent handler service to use static component registration. r=mconley 2022-06-22 20:31:36 +00:00
resources/content Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers 2021-10-25 11:00:47 +00:00
shistory Bug 1769290 - Part 12: Apply mozilla-js-handle-rooted-typedef against docshell r=andi 2022-07-04 20:57:18 +00:00
test Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for docshell. r=nika 2022-08-26 13:39:35 +00:00
moz.build Bug 1763598 - Fixes for docshell/test/chrome tests with session history in the parent. r=smaug 2022-04-15 20:44:38 +00:00