Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

PRBool nsIContent::IsInAnonymousSubtree (  )  const [inline, inherited]

Returns true if and only if there is NOT a path through child lists from the top of this node's parent chain back to this node.

Definition at line 196 of file nsIContent.h.

References nsIContent::GetBindingParent(), and nsINode::IsInNativeAnonymousSubtree().

  {
    NS_ASSERTION(!IsInNativeAnonymousSubtree() || GetBindingParent(),
                 "must have binding parent when in native anonymous subtree");
    return GetBindingParent() != nsnull;
  }


Generated by  Doxygen 1.6.0   Back to index