Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Carlos Garcia Campos
webkit.org > [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of > Carlos Garcia Campos > Sent: Wednesday, August 21, 2013 3:08 PM > To: Martin Robinson > Cc: WebKit Development > Subject: Re: [webkit-d

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Kangil Han
+1 -Original Message- From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Carlos Garcia Campos Sent: Wednesday, August 21, 2013 3:08 PM To: Martin Robinson Cc: WebKit Development Subject: Re: [webkit-dev] Are Qt and GTK+ intentionally

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Carlos Garcia Campos
El mar, 20-08-2013 a las 10:41 -0700, Martin Robinson escribió: > On Mon, Aug 19, 2013 at 10:16 PM, Ryosuke Niwa wrote: > > Are Qt and GTK+ (and other) ports intentionally returning false in > > shouldShowPlaceholderWhenFocused? Or is this just an oversight due to the > > fact the default impleme

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread TAMURA, Kent
FYI. Chromium and Firefox have shouldShowPlaceHolderWhenFocused==true behavior in all platforms. Web authors can specify shouldShowPlaceHolderWhenFocused==false behavior with CSS if the default is shouldShowPlaceHolderWhenFocused==true, but they can't specify shouldShowPlaceHolderWhenFocused==true

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Antonio Gomes
On Tue, Aug 20, 2013 at 1:52 PM, Ryosuke Niwa wrote: > Thanks for the confirmation, Martin! > > I've started to wonder if we can tie this to the editing behavior instead. > Isn't this more about the platform UI than each framework? +1 ___ webkit-dev mai

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Allan Sandfeld Jensen
On Tuesday 20 August 2013, Darin Adler wrote: > > That’s what this function was about; implementing both styles. > Thanks. I guess for Qt we would enable it on Mac, but keep it disabled elsewhere to stay consistent with the host platform. Best regards `Allan

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Ryosuke Niwa
Thanks for the confirmation, Martin! I've started to wonder if we can tie this to the editing behavior instead. Isn't this more about the platform UI than each framework? If so, it'll be nice to check the behavior on Windows and simply make the placeholder text behavior change based on the under

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Martin Robinson
On Mon, Aug 19, 2013 at 10:16 PM, Ryosuke Niwa wrote: > 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 just confirmed that the native GTK+ behavior

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Darin Adler
On Aug 20, 2013, at 5:43 AM, Allan Sandfeld Jensen wrote:What is a placeholder in the context of a text-editPlaceholder text is text telling you what to type, like in this example:data:text/html,why should it be visible when focusedThis is something that changed in Mac user inte

Re: [webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-20 Thread Allan Sandfeld Jensen
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 ot

[webkit-dev] Are Qt and GTK+ intentionally returning false in shouldShowPlaceholderWhenFocused?

2013-08-19 Thread Ryosuke Niwa
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 shouldShowPlacehold