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

PRBool nsINode::IsInNativeAnonymousSubtree (  )  const [inline, inherited]

Returns PR_TRUE if |this| or any of its ancestors is native anonymous.

Definition at line 787 of file nsINode.h.

References nsINode::HasFlag().

Referenced by nsGenericElement::BindToTree(), nsGenericElement::doPreHandleEvent(), nsIContent::FindFirstNonNativeAnonymous(), and nsIContent::IsInAnonymousSubtree().

  {
#ifdef DEBUG
    if (HasFlag(NODE_IS_IN_ANONYMOUS_SUBTREE)) {
      return PR_TRUE;
    }
    CheckNotNativeAnonymous();
    return PR_FALSE;
#else
    return HasFlag(NODE_IS_IN_ANONYMOUS_SUBTREE);
#endif
  }


Generated by  Doxygen 1.6.0   Back to index