[Webkit-unassigned] [Bug 228124] Codepen example using dark mode has white text on white in the iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 21 14:37:20 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228124

--- Comment #2 from Adam Argyle <argyle at google.com> ---
Created attachment 433957

  --> https://bugs.webkit.org/attachment.cgi?id=433957&action=review

`html { background-color: Canvas; }` fix

Here I set the background color of the document explicitly (though isn't this what it should be by default?), and then the iframe renders as expected. It seems like the iframe background color is taking precedence when the document clearly has a preference request with color-scheme?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210721/e1911824/attachment.htm>


More information about the webkit-unassigned mailing list