[whatwg] Placeholder option for text input boxes

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Oct 1 04:39:29 PDT 2008


The attributes are exposed as properties for compatibility with DOM Level 0.
This usage is deprecated because it can not be generalized to all possible
attribute names, as is required both for XML and potentially for future
versions of HTML. We recommend the use of generic methods on the core
Element interface for setting, getting and removing attributes.
<http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-64
2250288>

-----Original Message-----
From: Benjamin Hawkes-Lewis [mailto:bhawkeslewis at googlemail.com] 
Sent: Wednesday, October 01, 2008 12:42 PM
To: Kristof Zelechovski
Cc: 'Garrett Smith'; whatwg at whatwg.org
Subject: Re: [whatwg] Placeholder option for text input boxes

Kristof Zelechovski wrote:
> DOM properties are not becoming obsolete; accessing attributes by
properties
> is.

Hmm. Citation?

--
Benjamin Hawkes-Lewis




More information about the whatwg mailing list