mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +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
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