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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 23 12:07:03 PDT 2018


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

--- Comment #43 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to Benjamin Otte from comment #42)
> Since GTK 3.20, you need to gtk_widget_path_iter_set_object_name() after
> every appent_type() call, otherwise things won't work. So this needs to look
> like
> 
>     gtk_widget_path_append_type(path, GTK_TYPE_WINDOW);
>     gtk_widget_path_iter_set_object_name(path, -1, "window");
>     gtk_widget_path_iter_add_class (path, -1, GTK_STYLE_CLASS_BACKGROUND);

Thanks for the correction!

(In reply to Benjamin Otte from comment #42)
> But you absolutely want to create real RenderThemeGadgets for those two
> elements. Otherwise the color inheritance is not going to work because you
> have no parent GtkStyleContext to inherit from.

OK, that sounds more complicated... Carlos Eduardo, do you want to investigate that? I don't know how hard it would be.

-- 
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/20180523/def78683/attachment.html>


More information about the webkit-unassigned mailing list