[whatwg] Placeholder option for text input boxes

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Oct 1 00:45:03 PDT 2008


DOM properties are not becoming obsolete; accessing attributes by properties
is.
Chris

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Garrett Smith
Sent: Wednesday, October 01, 2008 9:18 AM
To: Kristof Zelechovski
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] Placeholder option for text input boxes

On Tue, Sep 30, 2008 at 11:43 PM, Kristof Zelechovski
<giecrilj at stegny.2a.pl> wrote:
> I would rather test whether a brand new INPUT object of type SEARCH has an
> attribute named "placeholder".  Accessing attributes as properties is
> discouraged and considered becoming obsolete; it should not be expected to
> work for new attributes.

Can you provide an example or evidence of DOM properties becoming
obsolete (other than safari not supporting input.placeholder)?

Garrett






More information about the whatwg mailing list