mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Expose Node.ownerDocument
Required by jQuery.
This commit is contained in:
parent
329cb134d6
commit
8bafbdddc6
Notes:
sideshowbarker
2024-07-18 18:46:00 +09:00
Author: https://github.com/Lubrsi
Commit: 8bafbdddc6
Pull-request: https://github.com/SerenityOS/serenity/pull/6824
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