1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibWeb: Implement Node::navigable()

https://html.spec.whatwg.org/multipage/document-sequences.html#node-navigable
This commit is contained in:
Aliaksandr Kalenik 2023-04-23 00:21:59 +03:00 committed by Andreas Kling
parent 6e416284b9
commit 22572c39e0
2 changed files with 11 additions and 0 deletions

View file

@ -135,6 +135,8 @@ public:
DeprecatedString node_value() const;
void set_node_value(DeprecatedString const&);
JS::GCPtr<HTML::Navigable> navigable() const;
Document& document() { return *m_document; }
Document const& document() const { return *m_document; }