mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Form constraints validation
This commit is contained in:
parent
e47e884cc7
commit
779552ee7d
72 changed files with 1224 additions and 4336 deletions
|
@ -16,8 +16,8 @@ interface HTMLSelectElement : HTMLElement {
|
|||
attribute boolean multiple;
|
||||
[CEReactions]
|
||||
attribute DOMString name;
|
||||
// [CEReactions]
|
||||
// attribute boolean required;
|
||||
[CEReactions]
|
||||
attribute boolean required;
|
||||
[CEReactions]
|
||||
attribute unsigned long size;
|
||||
|
||||
|
@ -41,12 +41,12 @@ interface HTMLSelectElement : HTMLElement {
|
|||
attribute long selectedIndex;
|
||||
attribute DOMString value;
|
||||
|
||||
// readonly attribute boolean willValidate;
|
||||
readonly attribute boolean willValidate;
|
||||
readonly attribute ValidityState validity;
|
||||
// readonly attribute DOMString validationMessage;
|
||||
// boolean checkValidity();
|
||||
// boolean reportValidity();
|
||||
// void setCustomValidity(DOMString error);
|
||||
readonly attribute DOMString validationMessage;
|
||||
boolean checkValidity();
|
||||
boolean reportValidity();
|
||||
void setCustomValidity(DOMString error);
|
||||
|
||||
readonly attribute NodeList labels;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue