mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
LibWeb: Support HTMLFormElement.elements and HTMLFormElement.length
Note that we implement .elements as a HTMLCollection for now, instead of the correct HTMLFormControlsCollection subclass. This covers most use-cases already. 1% progression on ACID3. :^)
This commit is contained in:
parent
fbee0490a3
commit
fa17776a51
3 changed files with 51 additions and 0 deletions
|
@ -29,6 +29,9 @@ public:
|
|||
void add_associated_element(Badge<FormAssociatedElement>, HTMLElement&);
|
||||
void remove_associated_element(Badge<FormAssociatedElement>, HTMLElement&);
|
||||
|
||||
NonnullRefPtr<DOM::HTMLCollection> elements() const;
|
||||
unsigned length() const;
|
||||
|
||||
private:
|
||||
bool m_firing_submission_events { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue