mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
LibWeb/CSS: Expose owning document of CSSStyleSheet
This will be needed for fetching images from CSS.
This commit is contained in:
parent
f1af4bcc58
commit
aebbb008c1
Notes:
github-actions[bot]
2025-04-15 09:30:46 +00:00
Author: https://github.com/AtkinsSJ
Commit: aebbb008c1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4319
2 changed files with 19 additions and 2 deletions
|
@ -68,6 +68,7 @@ public:
|
|||
void add_owning_document_or_shadow_root(DOM::Node& document_or_shadow_root);
|
||||
void remove_owning_document_or_shadow_root(DOM::Node& document_or_shadow_root);
|
||||
void invalidate_owners(DOM::StyleInvalidationReason);
|
||||
GC::Ptr<DOM::Document> owning_document() const;
|
||||
|
||||
Optional<FlyString> default_namespace() const;
|
||||
GC::Ptr<CSSNamespaceRule> default_namespace_rule() const { return m_default_namespace_rule; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue