LibWeb: Expose Node.ownerDocument

Required by jQuery.
This commit is contained in:
Luke 2021-05-02 21:03:50 +01:00 committed by Andreas Kling
commit 8bafbdddc6
Notes: sideshowbarker 2024-07-18 18:46:00 +09:00
3 changed files with 11 additions and 0 deletions

View file

@ -99,6 +99,8 @@ public:
Document& document() { return *m_document; }
const Document& document() const { return *m_document; }
RefPtr<Document> owner_document() const;
const HTML::HTMLAnchorElement* enclosing_link_element() const;
const HTML::HTMLElement* enclosing_html_element() const;
const HTML::HTMLElement* enclosing_html_element_with_attribute(const FlyString&) const;