Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour

<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-08-16 03:20:19 +00:00
parent 1bde572369
commit 36b317d733
11 changed files with 280 additions and 94 deletions

View File

@@ -765,7 +765,7 @@ MaybeSetForm(nsGenericHTMLElement* aContent, nsHTMLTag aNodeType,
NS_ASSERTION(!form || formElement,
"nsGenericHTMLElement didn't implement nsIDOMHTMLFormElement");
formControl->SetForm(formElement);
formControl->SetForm(formElement, PR_TRUE, PR_FALSE);
}
static already_AddRefed<nsGenericHTMLElement>