[whatwg] Placeholder option for text input boxes

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

Please.  This thread is not abort how to write JavaScript code in general.
It is about how to write the feature detection code.  This kind of code
should be especially robust and relying on deprecated features does not make
it more so.




From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Aaron Boodman
Sent: Wednesday, October 01, 2008 6:56 PM
To: Kristof Zelechovski
Cc: whatwg; Joao Eiras
Subject: Re: [whatwg] Placeholder option for text input boxes


2008/10/1 Kristof Zelechovski <giecrilj at stegny.2a.pl>:
> <http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-642250288> contains
> same deprecating statement. 

I think it would be really unfortunate if we followed through with this, and
I definitely think that input.placeholder should work.

The attribute/property symmetry is one of the longest running traditions in
web development, and makes programming the DOM with javascript much more
pleasant. We shouldn't break with long-established, useful traditions just
to make a small minority of cases more consistent.

- a 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081001/85ad5b95/attachment-0001.htm>

More information about the whatwg mailing list