Re: [csswg-drafts] [css-color-adjust-1] `color-scheme` should affect embedded iframes (#4772)

> Doesn't that provide information from the parent document that the child document probably shouldn't have access to? 

That's a good argument against my second proposal (change whether `color-scheme` has an effect or not, and therefore how the system colors evaluate in the embedded document).

But I don't think it would be a problem for the first proposal (draw an opaque canvas behind the iframe's root background when there's a mismatch), since I don't think there's any way for the document to read back the used canvas color.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4772#issuecomment-589280798 using your GitHub account

Received on Thursday, 20 February 2020 20:00:13 UTC