W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2011

[whatwg] API design restrictions due to barewords in onxxx="" attributes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 01 Dec 2011 14:58:40 -0500
Message-ID: <4ED7DC70.8010300@mit.edu>
On 12/1/11 2:12 PM, Aryeh Gregor wrote:
> On Fri, Nov 25, 2011 at 11:06 PM, Boris Zbarsky<bzbarsky at mit.edu>  wrote:
>> It would break existing pages that use expandos on elements or documents via
>> barewords in on* attributes.
> Isn't that the point of "look at element's named properties (if it has
> any)" and "look at element's form's named properties (if it has a
> form)"?  I assumed "named properties" meant "expando attributes".

No, "named properties" means things exposed via the NameGetter in WebIDL.

"expandos" means things that are just stuck on the object via JS.

Received on Thursday, 1 December 2011 11:58:40 UTC

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