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

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.

-Boris

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