W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Element.create(): a proposal for more convenient element creation

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 8 Aug 2011 02:03:44 -0700
Message-ID: <CABZUbM2++5RV2J9KCkM96mf+P=+gS-96khe6efMRVdH81=qpZw@mail.gmail.com>
To: Charles Pritchard <chuck@jumis.com>
Cc: Dominic Cooney <dominicc@google.com>, WebApps WG <public-webapps@w3.org>, Jonas Sicking <jonas@sicking.cc>, Maciej Stachowiak <mjs@apple.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Anne van Kesteren <annevk@opera.com>, Glenn Maynard <glenn@zewt.org>, Aryeh Gregor <ayg@aryeh.name>
On 8/6/11, Charles Pritchard <chuck@jumis.com> wrote:
[...]
> I've stated in prior threads, that unless the word is aria-* or data-*,
> properties are set on the element.
I see. But that's inherently inconsistent and mostly misleading
("attr" alludes to "attribute" not "usually property except when it's
data or aria").

For setting properties, though, a `setOwnProperties` method could be
convenient.
-- 
Garrett
Received on Monday, 8 August 2011 09:04:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT