2024-06-09 15:13:38 +12:00
|
|
|
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#validitystate
|
|
|
|
[Exposed=Window]
|
|
|
|
interface ValidityState {
|
2025-02-17 20:44:26 +01:00
|
|
|
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;
|
2024-06-09 15:13:38 +12:00
|
|
|
};
|