mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
[XForms] Elements with xsi:type are not validated on form load. Bug 332803, r=doronr+aaronr
This commit is contained in:
parent
28ca46ef07
commit
9088d59680
@ -869,6 +869,11 @@ nsXFormsMDGEngine::GetNCNodeState(nsIDOMNode *aContextNode)
|
||||
return nsnull;
|
||||
}
|
||||
aContextNode->AddRef();
|
||||
|
||||
// Do an initial type check, and set the validity state
|
||||
PRBool constraint;
|
||||
mModel->ValidateNode(aContextNode, &constraint);
|
||||
ns->Set(eFlag_CONSTRAINT_SCHEMA, constraint);
|
||||
}
|
||||
return ns;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user