Re: [whatwg] getElementById

2010-08-03 Thread Ian Hickson
On Mon, 10 May 2010, Perry Smith wrote: > > I see places that explicitly state that the same object is returned on > some operations. For example, the element.style has that clause. > > I have not found in either html5 or the DOM documentation that is > referenced an explicit statement to this

Re: [whatwg] getElementById

2010-05-11 Thread Perry Smith
On May 10, 2010, at 10:54 PM, Garrett Smith wrote: > On Mon, May 10, 2010 at 8:28 PM, Perry Smith wrote: > >> So, how about this? >> >> 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 >> particul

Re: [whatwg] getElementById

2010-05-10 Thread Garrett Smith
On Mon, May 10, 2010 at 8:35 PM, Bjoern Hoehrmann wrote: > * Perry Smith wrote: > [...] > 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 u

Re: [whatwg] getElementById

2010-05-10 Thread Garrett Smith
On Mon, May 10, 2010 at 8:28 PM, Perry Smith wrote: > > On May 10, 2010, at 7:04 PM, Garrett Smith wrote: > >> On Mon, May 10, 2010 at 4:55 PM, Perry Smith wrote: >>> >>> On May 10, 2010, at 5:12 PM, Garrett Smith wrote: >>> On Mon, May 10, 2010 at 2:27 PM, Perry Smith wrote: > > On

Re: [whatwg] getElementById

2010-05-10 Thread Bjoern Hoehrmann
* 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 >

Re: [whatwg] getElementById

2010-05-10 Thread Perry Smith
On May 10, 2010, at 7:04 PM, Garrett Smith wrote: > On Mon, May 10, 2010 at 4:55 PM, Perry Smith wrote: >> >> On May 10, 2010, at 5:12 PM, Garrett Smith wrote: >> >>> On Mon, May 10, 2010 at 2:27 PM, Perry Smith wrote: On May 10, 2010, at 3:06 PM, timeless wrote: > On Mon

Re: [whatwg] getElementById

2010-05-10 Thread Perry Smith
On May 10, 2010, at 3:06 PM, timeless wrote: > On Mon, May 10, 2010 at 9:10 PM, Perry Smith wrote: >> I see places that explicitly state that the same object is returned on some >> operations. For example, the element.style has that clause. >> >> I have not found in either html5 or the DOM do

Re: [whatwg] getElementById

2010-05-10 Thread timeless
On Mon, May 10, 2010 at 9:10 PM, Perry Smith wrote: > I see places that explicitly state that the same object is returned on some > operations.  For example, the element.style has that clause. > > I have not found in either html5 or the DOM documentation that is referenced > an explicit statemen