mirror of
https://github.com/konsoletyper/teavm.git
synced 2025-02-17 11:19:48 +08:00
#457: also add check/reportValidity
This commit is contained in:
parent
34aed76714
commit
236c6191c2
@ -67,6 +67,10 @@ public interface HTMLInputElement extends HTMLElement {
|
||||
void setValue(String value);
|
||||
|
||||
void setCustomValidity(String validationFailure);
|
||||
|
||||
boolean checkValidity();
|
||||
|
||||
boolean reportValidity();
|
||||
|
||||
void select();
|
||||
|
||||
|
@ -58,4 +58,6 @@ public interface HTMLSelectElement extends HTMLElement {
|
||||
void setValue(String value);
|
||||
|
||||
void setCustomValidity(String validationFailure);
|
||||
|
||||
boolean reportValidity();
|
||||
}
|
||||
|
@ -112,6 +112,10 @@ public interface HTMLTextAreaElement extends HTMLElement {
|
||||
int getTextLength();
|
||||
|
||||
void setCustomValidity(String validationFailure);
|
||||
|
||||
boolean checkValidity();
|
||||
|
||||
boolean reportValidity();
|
||||
|
||||
void select();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user