mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +00:00
LibWeb: Add LayoutNode::frame() reference getter
Any live layout tree always has a corresponding live Frame, as we will never create a layout tree for a frameless document.
This commit is contained in:
parent
a93fb7299f
commit
62615dfc31
Notes:
sideshowbarker
2024-07-19 05:39:06 +09:00
Author: https://github.com/awesomekling
Commit: 62615dfc31
5 changed files with 19 additions and 11 deletions
|
@ -103,6 +103,9 @@ public:
|
|||
Document& document();
|
||||
const Document& document() const;
|
||||
|
||||
const Frame& frame() const;
|
||||
Frame& frame();
|
||||
|
||||
const LayoutDocument& root() const;
|
||||
LayoutDocument& root();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue