mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Make HTMLSlotElement::assigned_{elements,nodes} methods const
This commit is contained in:
parent
398bf10b92
commit
23473d64ca
Notes:
sideshowbarker
2024-07-17 17:49:11 +09:00
Author: https://github.com/tcl3
Commit: 23473d64ca
Pull-request: https://github.com/SerenityOS/serenity/pull/24207
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/shannonbooth ✅
2 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ class HTMLSlotElement final
|
|||
public:
|
||||
virtual ~HTMLSlotElement() override;
|
||||
|
||||
Vector<JS::Handle<DOM::Node>> assigned_nodes(AssignedNodesOptions options = {});
|
||||
Vector<JS::Handle<DOM::Element>> assigned_elements(AssignedNodesOptions options = {});
|
||||
Vector<JS::Handle<DOM::Node>> assigned_nodes(AssignedNodesOptions options = {}) const;
|
||||
Vector<JS::Handle<DOM::Element>> assigned_elements(AssignedNodesOptions options = {}) const;
|
||||
|
||||
using SlottableHandle = Variant<JS::Handle<DOM::Element>, JS::Handle<DOM::Text>>;
|
||||
void assign(Vector<SlottableHandle> nodes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue