[Webkit-unassigned] [Bug 254135] [GTK] User contrast preference for high contrast not reflected in prefers-contrast CSS media query
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 9 06:07:01 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=254135
--- Comment #12 from Alexander Mikhaylenko <alexm at gnome.org> ---
FWIW portal is an implementation detail, libadwaita does not guarantee that HC will be read from there at all. In fact, there are quite a few situations where it's not, like there is an environment variable to override it, there's a toggle in inspector that overrides it and so on.
One thing you can do without having to load libadwaita is: when AdwApplication is used, you can get the application, access the style-manager property, access the high-contrast property. That can be done in runtime, without linking or dlopening anything.
That won't work if adw_init() was used without AdwApplication though, but that's not recommended to begin with.
--
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/20230509/59359d6f/attachment.htm>
More information about the webkit-unassigned
mailing list