mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibWeb: Add stub implementation of HTMLOptionsCollection
This is a subtype of `DOM::HTMLCollection` that only holds `HTMLOptionElement`s. In this stub implementation only `item`, `namedItem` and `length`, inherited from HTMLCollection, are exposed. This is good enough for applications that only read the collection.
This commit is contained in:
parent
6f4dde253f
commit
624527f15e
Notes:
sideshowbarker
2024-07-17 17:19:47 +09:00
Author: https://github.com/skyrising
Commit: 624527f15e
Pull-request: https://github.com/SerenityOS/serenity/pull/13071
6 changed files with 67 additions and 0 deletions
|
@ -172,6 +172,7 @@ set(SOURCES
|
|||
HTML/HTMLObjectElement.cpp
|
||||
HTML/HTMLOptGroupElement.cpp
|
||||
HTML/HTMLOptionElement.cpp
|
||||
HTML/HTMLOptionsCollection.cpp
|
||||
HTML/HTMLOutputElement.cpp
|
||||
HTML/HTMLParagraphElement.cpp
|
||||
HTML/HTMLParamElement.cpp
|
||||
|
@ -522,6 +523,7 @@ libweb_js_wrapper(HTML/HTMLObjectElement)
|
|||
libweb_js_wrapper(HTML/HTMLOListElement)
|
||||
libweb_js_wrapper(HTML/HTMLOptGroupElement)
|
||||
libweb_js_wrapper(HTML/HTMLOptionElement)
|
||||
libweb_js_wrapper(HTML/HTMLOptionsCollection)
|
||||
libweb_js_wrapper(HTML/HTMLOutputElement)
|
||||
libweb_js_wrapper(HTML/HTMLParagraphElement)
|
||||
libweb_js_wrapper(HTML/HTMLParamElement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue