- From: Aryeh Gregor <ayg@aryeh.name>
- Date: Thu, 1 Dec 2011 14:12:14 -0500
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". We could add a check for the document's named properties too. This way, if we introduce Element.prototype.matches or something, that would be skipped entirely in bareword on* lookups. The only new properties we define that would ever be hit for bareword on* lookups are ones on the window, and those would be last in the lookup chain -- which is the same behavior as for non-on* bareword uses.
Received on Thursday, 1 December 2011 11:12:14 UTC