[whatwg] Node inDocument
jonas at sicking.cc
Fri Sep 2 08:31:28 PDT 2011
On Thursday, September 1, 2011, Ryosuke Niwa <rniwa at webkit.org> wrote:
> On Thu, Sep 1, 2011 at 6:56 PM, James Robinson <jamesr at google.com> wrote:
>> What is the expected behavior for nodes in iframes? IOW, with this sort
>> <iframe id="a">
>> <iframe id="b">
>> <div id="node">
> Let me first assume that you meant #a is in body, #b is somewhere in the
> contentDocument of #a, and #node is in the contentDocument of #b. Then
> what is the return value for:
> are, respectively, true, false, and false.
My understanding is that they would all be false. "node" isn't a descendent
of "b" if "node" is in "b"'s contentDocument.
More information about the whatwg