nsCOMPtr<nsIContent> formContent = do_QueryInterface(aForm); formContent->SetDocument(this, PR_TRUE);    mHiddenForm->SetAttribute("style", "margin:0em");
XULDocumentImpl::SetForm(nsIDOMHTMLFormElement* aForm){    mHiddenForm = dont_QueryInterface(aForm);    return NS_OK;}