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

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

Get whether this content is C++-generated anonymous content

See also:
nsIAnonymousContentCreator
Returns:
whether this content is anonymous

Definition at line 157 of file nsIContent.h.

References nsINode::HasFlag().

Referenced by nsGenericElement::BindToTree(), nsHyperTextAccessible::DOMPointToHypertextOffset(), nsGenericElement::doPreHandleEvent(), nsIFrame::IsFocusable(), and nsIContent::IsRootOfAnonymousSubtree().

  {
    NS_ASSERTION(!HasFlag(NODE_IS_NATIVE_ANONYMOUS_ROOT) ||
                 (HasFlag(NODE_IS_ANONYMOUS) &&
                  HasFlag(NODE_IS_IN_ANONYMOUS_SUBTREE)),
                 "Some flags seem to be missing!");
    return HasFlag(NODE_IS_NATIVE_ANONYMOUS_ROOT);
  }


Generated by  Doxygen 1.6.0   Back to index