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

Boris Zbarsky bzbarsky at MIT.EDU
Thu Dec 1 11:58:40 PST 2011

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.


More information about the whatwg mailing list