mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
LibWeb: Expose Node.ownerDocument
Required by jQuery.
This commit is contained in:
parent
329cb134d6
commit
8bafbdddc6
3 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue