mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Implement the HTMLOptionElement.form
attribute
This returns the parent form of a HTMLOptionElement or null if the element has no parent form.
This commit is contained in:
parent
fe7df98d7d
commit
763b7f0e0c
Notes:
sideshowbarker
2024-07-18 00:41:35 +09:00
Author: https://github.com/tcl3
Commit: 763b7f0e0c
Pull-request: https://github.com/SerenityOS/serenity/pull/24340
5 changed files with 64 additions and 1 deletions
|
@ -31,6 +31,8 @@ public:
|
|||
|
||||
bool disabled() const;
|
||||
|
||||
JS::GCPtr<HTML::HTMLFormElement> form() const;
|
||||
|
||||
virtual Optional<ARIA::Role> default_role() const override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue