mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: Implement checkValidity() for HTMLSelectElement
This change adds an implementation of the checkValidity() method for HTMLSelectElement.
This commit is contained in:
committed by
Tim Ledbetter
parent
5331571fdc
commit
db7aa68340
@@ -702,6 +702,12 @@ bool HTMLSelectElement::will_validate()
|
||||
return is_candidate_for_constraint_validation();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
|
||||
bool HTMLSelectElement::check_validity()
|
||||
{
|
||||
return check_validity_steps();
|
||||
}
|
||||
|
||||
bool HTMLSelectElement::is_focusable() const
|
||||
{
|
||||
return enabled();
|
||||
|
||||
Reference in New Issue
Block a user