- From: Emilio Cobos Álvarez via GitHub <noreply@w3.org>
- Date: Tue, 28 Apr 2026 10:30:23 +0000
- To: public-css-archive@w3.org
@tabatkins what's going on is that, in the "white on white" example, the iframe is transparent, _not_ drawing the canvas background. The parent meta tag is irrelevant for the iframe, what's relevant is the used (and preferred, see #7526) color schemes of the `<iframe>`. The meta tag on the parent only changes the underlying canvas background _in the parent page_, if the iframe specifies `color-scheme`. Transparent is usually the default behavior of iframes. We do force the canvas backdrop to draw if the color schemes are mismatched (resolved in https://github.com/w3c/csswg-drafts/issues/4772). If you change the `srcdoc` to include a background `<html style='background: canvas'>` or so then stuff makes more sense :) -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13843#issuecomment-4334404635 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 April 2026 10:30:24 UTC