W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: [DOM4] Remove Node.isSameNode

From: Sean Hogan <shogun70@westnet.com.au>
Date: Sat, 10 Sep 2011 07:27:12 +1000
Message-ID: <4E6A84B0.3050509@westnet.com.au>
To: Jonas Sicking <jonas@sicking.cc>
CC: Webapps WG <public-webapps@w3.org>
On 10/09/11 3:21 AM, Jonas Sicking wrote:
> It's a completely useless function. It just implements the equality
> operator. I believe most languages have a equality operator already.
> Except Brainfuck [1]. But the DOM isn't implementable in Brainfuck
> anyway as it doesn't have objects, so I'm ok with that.
>
> [1] http://en.wikipedia.org/wiki/Brainfuck
>
> / Jonas
>
>

If a DOM implementation returns  node-wrappers instead of exposing the 
actual nodes then you could end up with different node-refs for the same 
node. I'm not sure whether that violates other requirements of the spec.
Received on Friday, 9 September 2011 21:27:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT