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 19:05:45 +0200
Message-ID: <89208CCDE4E44F15B929850E2FF62D64@POCZTOWIEC>
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.

Chris

 

  _____  

From: whatwg-bounces@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
the
> 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.htm>
Received on Wednesday, 1 October 2008 10:05:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC