[whatwg] Node inDocument

Anne van Kesteren annevk at opera.com
Thu Sep 1 01:39:51 PDT 2011

On Thu, 01 Sep 2011 00:18:26 +0200, Erik Arvidsson <arv at chromium.org>  
> After thinking more about this we believe that moving contains to Node
> is a better alternative. The problem with Node inDocument is that it
> does not say which document it is in so code would need to also check
> ownerDocument to be robust in the presence of frames and multiple
> windows.

You got it. Now everyone please implement :-)


Anne van Kesteren

More information about the whatwg mailing list