mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
#457: also add check/reportValidity
This commit is contained in:
parent
34aed76714
commit
236c6191c2
|
@ -68,6 +68,10 @@ public interface HTMLInputElement extends HTMLElement {
|
||||||
|
|
||||||
void setCustomValidity(String validationFailure);
|
void setCustomValidity(String validationFailure);
|
||||||
|
|
||||||
|
boolean checkValidity();
|
||||||
|
|
||||||
|
boolean reportValidity();
|
||||||
|
|
||||||
void select();
|
void select();
|
||||||
|
|
||||||
@JSProperty
|
@JSProperty
|
||||||
|
|
|
@ -58,4 +58,6 @@ public interface HTMLSelectElement extends HTMLElement {
|
||||||
void setValue(String value);
|
void setValue(String value);
|
||||||
|
|
||||||
void setCustomValidity(String validationFailure);
|
void setCustomValidity(String validationFailure);
|
||||||
|
|
||||||
|
boolean reportValidity();
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,6 +113,10 @@ public interface HTMLTextAreaElement extends HTMLElement {
|
||||||
|
|
||||||
void setCustomValidity(String validationFailure);
|
void setCustomValidity(String validationFailure);
|
||||||
|
|
||||||
|
boolean checkValidity();
|
||||||
|
|
||||||
|
boolean reportValidity();
|
||||||
|
|
||||||
void select();
|
void select();
|
||||||
|
|
||||||
@JSProperty
|
@JSProperty
|
||||||
|
|
Loading…
Reference in New Issue
Block a user