[whatwg] getElementById

Bjoern Hoehrmann derhoermi at gmx.net
Mon May 10 20:35:14 PDT 2010

* Perry Smith wrote:
>As part of HTMLElement, have a defined bucket, maybe call it
>elementObject which is defined to be a native ECMAScript object.  If X
>denotes a particular DOM element, then X.elementObject is defined to
>return the same native ECMAScript object each time.  More details could
>be added perhaps to define how the object is created (i.e. which
>prototype to use, etc).  I'm thinking making it the same as {}.

http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData allows
you to associate user data with a DOM Node object with gurantees about
the availability of the data when a node is eg. cloned if used properly.
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

More information about the whatwg mailing list