mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
LibWeb: Return a HTMLFormControlsCollection from HTMLFormElement element
Instead of a HTMLCollection
This commit is contained in:
parent
27dd2a40ad
commit
9cf5b67162
5 changed files with 39 additions and 7 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
|
||||
ErrorOr<Vector<JS::NonnullGCPtr<DOM::Element>>> get_submittable_elements();
|
||||
|
||||
JS::NonnullGCPtr<DOM::HTMLCollection> elements() const;
|
||||
JS::NonnullGCPtr<DOM::HTMLFormControlsCollection> elements() const;
|
||||
unsigned length() const;
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
|
@ -110,7 +110,7 @@ private:
|
|||
|
||||
Vector<JS::GCPtr<HTMLElement>> m_associated_elements;
|
||||
|
||||
JS::GCPtr<DOM::HTMLCollection> mutable m_elements;
|
||||
JS::GCPtr<DOM::HTMLFormControlsCollection> mutable m_elements;
|
||||
|
||||
bool m_constructing_entry_list { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue