mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibWeb: Don't mark LiveNodeList as final
This is to accommodate for adding the RadioNodeList interface which returns a live list of elements.
This commit is contained in:
parent
15944c5b26
commit
c2bf391f81
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/c2bf391f81 Pull-request: https://github.com/SerenityOS/serenity/pull/20656 Reviewed-by: https://github.com/awesomekling
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ namespace Web::DOM {
|
|||
|
||||
// FIXME: Just like HTMLCollection, LiveNodeList currently does no caching.
|
||||
|
||||
class LiveNodeList final : public NodeList {
|
||||
class LiveNodeList : public NodeList {
|
||||
WEB_PLATFORM_OBJECT(LiveNodeList, NodeList);
|
||||
|
||||
public:
|
||||
|
@ -31,9 +31,10 @@ public:
|
|||
|
||||
virtual bool is_supported_property_index(u32) const override;
|
||||
|
||||
private:
|
||||
protected:
|
||||
LiveNodeList(JS::Realm&, Node& root, Scope, Function<bool(Node const&)> filter);
|
||||
|
||||
private:
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
JS::MarkedVector<Node*> collection() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue