[Webkit-unassigned] [Bug 196685] [GTK] Support prefers-color-scheme media query

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 15 17:55:03 PDT 2019


--- Comment #12 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Cassidy James Blaede from comment #11)
> That last part is what I understand this patch does—if not, I'm
> sorry that I've misunderstood!

gtk-application-prefer-dark-theme is only used in the testing code, that's what I missed. So I don't know how it could possibly work currently.

> I guess the one edge case that I'm not sure of is what happens when the
> browser has `gtk-application-prefer-dark-theme` as true, but the site does
> not claim to support a dark style. In *that* case, WebKit should continue to
> use light/default form styles to prevent color conflicts. I believe this is
> also how macOS Safari handles it.

Yes, that's even more important actually, but we don't do it currently.

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/20190516/1c8dcfea/attachment.html>

More information about the webkit-unassigned mailing list