[whatwg] Placeholder visibility on focus

Darin Adler darin at apple.com
Tue Jul 19 10:12:47 PDT 2011


On Jul 19, 2011, at 3:55 AM, Thomas Maas wrote:

> instead of checking for an empty string *and* focus the user agent should just check for an empty string.

I think that for some user agents, whether the placeholder text is shown when the field is focused should depend on platform behavior.

For example, Safari has one behavior on Snow Leopard and a different behavior on Lion and I think that is a good thing.

    -- Darin




More information about the whatwg mailing list