mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 17:33:04 +00:00
LibWeb: Add support for indexed setter of HTMLOptionsCollection
This commit is contained in:
parent
2c918b540d
commit
99824eae14
Notes:
sideshowbarker
2024-07-17 08:25:15 +09:00
Author: https://github.com/vpzomtrrfrt
Commit: 99824eae14
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/630
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 70 additions and 0 deletions
|
@ -24,6 +24,8 @@ public:
|
|||
[[nodiscard]] static JS::NonnullGCPtr<HTMLOptionsCollection> create(DOM::ParentNode& root, ESCAPING Function<bool(DOM::Element const&)> filter);
|
||||
virtual ~HTMLOptionsCollection() override;
|
||||
|
||||
WebIDL::ExceptionOr<void> set_value_of_indexed_property(u32, JS::Value) override;
|
||||
|
||||
WebIDL::ExceptionOr<void> set_length(WebIDL::UnsignedLong);
|
||||
|
||||
WebIDL::ExceptionOr<void> add(HTMLOptionOrOptGroupElement element, Optional<HTMLElementOrElementIndex> before = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue