mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Implement Document.rootElement (SVG2 extension to Document)
This commit is contained in:
parent
e6f75801b1
commit
879cba762b
Notes:
github-actions[bot]
2025-05-16 18:37:14 +00:00
Author: https://github.com/awesomekling
Commit: 879cba762b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4775
4 changed files with 16 additions and 3 deletions
|
@ -270,6 +270,9 @@ public:
|
|||
Element* document_element();
|
||||
Element const* document_element() const;
|
||||
|
||||
// https://www.w3.org/TR/SVG2/struct.html#InterfaceDocumentExtensions
|
||||
GC::Ptr<SVG::SVGSVGElement> root_element();
|
||||
|
||||
HTML::HTMLHtmlElement* html_element();
|
||||
HTML::HTMLHeadElement* head();
|
||||
GC::Ptr<HTML::HTMLTitleElement> title_element();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue