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

@@ -191,8 +191,6 @@ public:
virtual WebIDL::ExceptionOr<void> cloned(Node&, bool) const override;
GC::Ref<ValidityState const> validity() const;
// ^HTMLElement
// https://html.spec.whatwg.org/multipage/forms.html#category-label
virtual bool is_labelable() const override { return type_state() != TypeAttributeState::Hidden; }