mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #10169 - jdm:formvalidation, r=jdm
Implement initial pieces of form validation. Rebase of #10108. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10169) <!-- Reviewable:end -->
This commit is contained in:
commit
f56062b069
14 changed files with 185 additions and 55 deletions
|
@ -5,15 +5,15 @@
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#validitystate
|
||||
interface ValidityState {
|
||||
//readonly attribute boolean valueMissing;
|
||||
//readonly attribute boolean typeMismatch;
|
||||
//readonly attribute boolean patternMismatch;
|
||||
//readonly attribute boolean tooLong;
|
||||
//readonly attribute boolean tooShort;
|
||||
//readonly attribute boolean rangeUnderflow;
|
||||
//readonly attribute boolean rangeOverflow;
|
||||
//readonly attribute boolean stepMismatch;
|
||||
//readonly attribute boolean badInput;
|
||||
//readonly attribute boolean customError;
|
||||
//readonly attribute boolean valid;
|
||||
readonly attribute boolean valueMissing;
|
||||
readonly attribute boolean typeMismatch;
|
||||
readonly attribute boolean patternMismatch;
|
||||
readonly attribute boolean tooLong;
|
||||
readonly attribute boolean tooShort;
|
||||
readonly attribute boolean rangeUnderflow;
|
||||
readonly attribute boolean rangeOverflow;
|
||||
readonly attribute boolean stepMismatch;
|
||||
readonly attribute boolean badInput;
|
||||
readonly attribute boolean customError;
|
||||
readonly attribute boolean valid;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue