[Webkit-unassigned] [Bug 126907] [GTK] Hardcoded text color in input fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 15 04:32:55 PDT 2018


--- Comment #17 from Carlos Eduardo Ramalho <cadubentzen at gmail.com> ---
(In reply to Michael Catanzaro from comment #16)
> Yeah that sounds good. Question is, how will you determine if it is a dark
> theme or not?

I'll just set the widgets to a light theme, no check whether it's in a dark theme or not.

> I don't think there's an easy way to test which colors are going to be drawn.
> Hint: start at RenderThemeGTK.

I don't know if info about page styling override is available at RenderTheme calls to detect e.g. black text in textarea while using dark theme. If the info were there we could test it to prevent the non-readable combination, but there are many colors combination to avoid and doing so would still be cumbersome.

Do you agree to just set light colors to the InHTML widgets unconditionally?

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/20180515/aa092fe6/attachment.html>

More information about the webkit-unassigned mailing list