NS_FORWARD_NSIDOMNODE_NO_CLONENODE(nsGenericElement::)
nsXULElement::GetPreviousSibling(nsIDOMNode** aPreviousSibling) { if (nsnull != mParent) { PRInt32 pos; mParent->IndexOf(NS_STATIC_CAST(nsIStyledContent*, this), pos); if (pos > -1) { nsCOMPtr<nsIContent> prev; mParent->ChildAt(--pos, *getter_AddRefs(prev)); if (prev) { nsresult rv = prev->QueryInterface(kIDOMNodeIID, (void**) aPreviousSibling); NS_ASSERTION(NS_SUCCEEDED(rv), "not a DOM node"); return rv; } } }    *aPreviousSibling = nsnull; return NS_OK; }
    NS_FORWARD_NSIDOMNODE_NO_CLONENODE(nsGenericElement::)