mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Unify check_validity for form associated elements
This commit is contained in:
Notes:
github-actions[bot]
2025-08-29 18:29:05 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/af88a43e9a9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6024 Reviewed-by: https://github.com/tcl3 ✅
@@ -2920,12 +2920,6 @@ bool HTMLInputElement::will_validate()
|
||||
return is_candidate_for_constraint_validation();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity
|
||||
WebIDL::ExceptionOr<bool> HTMLInputElement::check_validity()
|
||||
{
|
||||
return check_validity_steps();
|
||||
}
|
||||
|
||||
Optional<ARIA::Role> HTMLInputElement::default_role() const
|
||||
{
|
||||
// http://wpt.live/html-aam/roles-dynamic-switch.tentative.window.html "Disconnected <input type=checkbox switch>"
|
||||
|
||||
Reference in New Issue
Block a user