[webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?
Allan Sandfeld Jensen
kde at carewolf.com
Tue Aug 20 05:43:45 PDT 2013
On Tuesday 20 August 2013, Ryosuke Niwa wrote:
> Hi,
>
> Once my patch for https://bugs.webkit.org/show_bug.cgi?id=120049 is landed,
> Mac port will no longer return false in shouldShowPlaceholderWhenFocused.
>
> Mac, Windows, and EFL all return true in this function.
>
> Are Qt and GTK+ (and other) ports intentionally returning false
> in shouldShowPlaceholderWhenFocused? Or is this just an oversight due to
> the fact the default implementation returned false?
>
I think in our case the method is simply not implemented. Honestly even after
investigating it I am still not sure exactly what it does. What is a
placeholder in the context of a text-edit, and why should it be visible when
focused,; is it not visible when not focused, or only visible when not
focused?
Sometimes I think a little more method documentation in WebCore would be a
good idea.
Regards
`Allan
More information about the webkit-dev
mailing list