зеркало из https://github.com/mozilla/gecko-dev.git
[XForms] Elements with xsi:type are not validated on form load. Bug 332803, r=doronr+aaronr
This commit is contained in:
Родитель
28ca46ef07
Коммит
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче