W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Placeholder option for text input boxes

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 1 Oct 2008 09:45:03 +0200
Message-ID: <A6C0172D2CD84B1EBBBC3EC8BAE7EA8A@POCZTOWIEC>
DOM properties are not becoming obsolete; accessing attributes by properties
is.
Chris

-----Original Message-----
From: whatwg-bounces@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
Received on Wednesday, 1 October 2008 00:45:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:44 UTC