LibWeb: Implement validity IDL attribute

This commit is contained in:
Psychpsyo
2025-02-17 20:44:26 +01:00
committed by Tim Ledbetter
parent 184ae687c5
commit 83c4e22247
33 changed files with 2007 additions and 31 deletions

View File

@@ -122,6 +122,9 @@ public:
String form_action() const;
WebIDL::ExceptionOr<void> set_form_action(String const&);
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-validity
GC::Ref<ValidityState const> validity() const;
protected:
FormAssociatedElement() = default;
virtual ~FormAssociatedElement() = default;