[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
Mon May 8 12:23:33 PDT 2023


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

--- Comment #9 from Michael Catanzaro <mcatanzaro at redhat.com> ---
(In reply to Patrick Griffis from comment #8)
> Yes. I was using `adw_is_initialized()` to conditionally check if we should
> respect libadwaita.

Bah, I guess that is indeed a good reason to dlopen libadwaita, if you want to be able to do this check without having WebKit actually depend on libadwaita.

> > How do you check whether you're in high contrast mode with libadwaita?
> 
> AdwStyleManager:high-contrast

Hm, I know we are WebKitGTK and not WebKitAdwaita, but maybe it would be easiest to just link to libadwaita after all. Dunno. Well, if using dlopen is not too hard, I suppose that's fine.

-- 
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/20230508/d9e248ca/attachment.htm>


More information about the webkit-unassigned mailing list