[Webkit-unassigned] [Bug 208204] New: [GTK] Support color-schemes CSS property?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 25 09:12:26 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=208204
Bug ID: 208204
Summary: [GTK] Support color-schemes CSS property?
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: bugs-noreply at webkitgtk.org, cassidy at elementary.io
Now that GTK port no longer uses foreign drawing to render widgets, since r257299, it's finally possible to support the color-schemes CSS property. (See bug #197947 for discussion of why this was not previously possible.)
Overview of how dark mode works currently:
Firefox and Chrome and WebKitGTK since r255342: indicate to the webpage whether user prefers a dark theme using prefers-color-scheme, but always render controls using light theme. (GOOD)
Safari only: indicates to the webpage whether user prefers a dark theme using prefers-color-scheme, renders light controls usually EXCEPT if website opts-in to dark form controls using color-schemes CSS property. (BEST)
Downsides: this would complicate the new built-in Adwaita theme, so we might not want to do it.
--
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/20200225/b6d25aff/attachment.htm>
More information about the webkit-unassigned
mailing list