mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Implement validity IDL attribute
This commit is contained in:
Notes:
github-actions[bot]
2025-02-18 06:38:10 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/83c4e222473 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3583 Reviewed-by: https://github.com/shannonbooth Reviewed-by: https://github.com/tcl3 ✅
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user