mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement setCustomValidity IDL attribute
This commit is contained in:
Notes:
github-actions[bot]
2025-02-18 17:18:11 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/a8004a77bba Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3587 Reviewed-by: https://github.com/ADKaster ✅
@@ -2457,13 +2457,6 @@ WebIDL::ExceptionOr<bool> HTMLInputElement::report_validity()
|
||||
return true;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-setcustomvalidity
|
||||
void HTMLInputElement::set_custom_validity(String const& error)
|
||||
{
|
||||
dbgln("(STUBBED) HTMLInputElement::set_custom_validity(error={}). Called on: {}", error, debug_description());
|
||||
return;
|
||||
}
|
||||
|
||||
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