aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLInputElement.webidl
diff options
context:
space:
mode:
authorteapotd <teapot404@gmail.com>2020-04-01 11:08:02 +0200
committerteapotd <teapot404@gmail.com>2020-04-02 10:16:46 +0200
commit779552ee7ddbbde1055c7202e16b9a13c3961988 (patch)
treef3dac563783cfeaa5ca69851c426d7e7b4dff9c3 /components/script/dom/webidls/HTMLInputElement.webidl
parente47e884cc738a5cb472416a4fbdd9d2a32a2385c (diff)
downloadservo-779552ee7ddbbde1055c7202e16b9a13c3961988.tar.gz
servo-779552ee7ddbbde1055c7202e16b9a13c3961988.zip
Form constraints validation
Diffstat (limited to 'components/script/dom/webidls/HTMLInputElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLInputElement.webidl12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/webidls/HTMLInputElement.webidl b/components/script/dom/webidls/HTMLInputElement.webidl
index f86e924b415..6b8c557e83d 100644
--- a/components/script/dom/webidls/HTMLInputElement.webidl
+++ b/components/script/dom/webidls/HTMLInputElement.webidl
@@ -82,12 +82,12 @@ interface HTMLInputElement : HTMLElement {
[Throws] void stepUp(optional long n = 1);
[Throws] void stepDown(optional long n = 1);
- //readonly attribute boolean willValidate;
- //readonly attribute ValidityState validity;
- //readonly attribute DOMString validationMessage;
- //boolean checkValidity();
- //boolean reportValidity();
- //void setCustomValidity(DOMString error);
+ readonly attribute boolean willValidate;
+ readonly attribute ValidityState validity;
+ readonly attribute DOMString validationMessage;
+ boolean checkValidity();
+ boolean reportValidity();
+ void setCustomValidity(DOMString error);
readonly attribute NodeList? labels;