diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java index 624e0c2cf..7b10a273e 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLInputElement.java @@ -67,6 +67,10 @@ public interface HTMLInputElement extends HTMLElement { void setValue(String value); void setCustomValidity(String validationFailure); + + boolean checkValidity(); + + boolean reportValidity(); void select(); diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLSelectElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLSelectElement.java index d0239a35e..5affcec34 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLSelectElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLSelectElement.java @@ -58,4 +58,6 @@ public interface HTMLSelectElement extends HTMLElement { void setValue(String value); void setCustomValidity(String validationFailure); + + boolean reportValidity(); } diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLTextAreaElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLTextAreaElement.java index a0cfd72ed..b92e4de52 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLTextAreaElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLTextAreaElement.java @@ -112,6 +112,10 @@ public interface HTMLTextAreaElement extends HTMLElement { int getTextLength(); void setCustomValidity(String validationFailure); + + boolean checkValidity(); + + boolean reportValidity(); void select();