diff options
author | teapotd <teapot404@gmail.com> | 2020-04-01 11:08:02 +0200 |
---|---|---|
committer | teapotd <teapot404@gmail.com> | 2020-04-02 10:16:46 +0200 |
commit | 779552ee7ddbbde1055c7202e16b9a13c3961988 (patch) | |
tree | f3dac563783cfeaa5ca69851c426d7e7b4dff9c3 /components/script/dom/webidls/HTMLButtonElement.webidl | |
parent | e47e884cc738a5cb472416a4fbdd9d2a32a2385c (diff) | |
download | servo-779552ee7ddbbde1055c7202e16b9a13c3961988.tar.gz servo-779552ee7ddbbde1055c7202e16b9a13c3961988.zip |
Form constraints validation
Diffstat (limited to 'components/script/dom/webidls/HTMLButtonElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLButtonElement.webidl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/webidls/HTMLButtonElement.webidl b/components/script/dom/webidls/HTMLButtonElement.webidl index a5eaebef19e..a221f6669cf 100644 --- a/components/script/dom/webidls/HTMLButtonElement.webidl +++ b/components/script/dom/webidls/HTMLButtonElement.webidl @@ -30,12 +30,12 @@ interface HTMLButtonElement : HTMLElement { attribute DOMString value; // attribute HTMLMenuElement? menu; - //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; }; |