You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iframe background should always be transparent.
Actual Behavior
In browsers, whenever the root document has a color-scheme that is different from the embedded document, the background of the embedded document will become forcibly opaque.
From my research, it might be possible to have the iframe inherit the color scheme of the parent if the child iframe has this style:
Expected Behavior
The iframe background should always be transparent.
Actual Behavior
In browsers, whenever the root document has a
color-scheme
that is different from the embedded document, the background of the embedded document will become forcibly opaque.From my research, it might be possible to have the iframe inherit the color scheme of the parent if the child iframe has this style:
These may be useful:
color-scheme
should affect embedded iframes w3c/csswg-drafts#4772Steps to Reproduce
See my codepen: https://codepen.io/dyc3/pen/ZEVbZbE
The text was updated successfully, but these errors were encountered: