mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
[Minor fix] Set forms to valid in their constructor
This commit is contained in:
@@ -113,6 +113,8 @@ HTMLFormElement::HTMLFormElement(already_AddRefed<mozilla::dom::NodeInfo>& aNode
|
||||
mInvalidElementsCount(0),
|
||||
mEverTriedInvalidSubmit(false)
|
||||
{
|
||||
// We start out valid.
|
||||
AddStatesSilently(NS_EVENT_STATE_VALID);
|
||||
}
|
||||
|
||||
HTMLFormElement::~HTMLFormElement()
|
||||
|
||||
Reference in New Issue
Block a user