mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport
The name "initial containing block" was wrong for this, as it doesn't correspond to the HTML element, and that's specifically what it's supposed to do! :^)
This commit is contained in:
parent
60f699338d
commit
7e76a51cb0
66 changed files with 121 additions and 128 deletions
|
@ -196,8 +196,8 @@ public:
|
|||
|
||||
virtual bool is_child_allowed(Node const&) const override;
|
||||
|
||||
Layout::InitialContainingBlock const* layout_node() const;
|
||||
Layout::InitialContainingBlock* layout_node();
|
||||
Layout::Viewport const* layout_node() const;
|
||||
Layout::Viewport* layout_node();
|
||||
|
||||
void schedule_style_update();
|
||||
void schedule_layout_update();
|
||||
|
@ -477,7 +477,7 @@ private:
|
|||
|
||||
JS::GCPtr<HTML::Window> m_window;
|
||||
|
||||
JS::GCPtr<Layout::InitialContainingBlock> m_layout_root;
|
||||
JS::GCPtr<Layout::Viewport> m_layout_root;
|
||||
|
||||
Optional<Color> m_link_color;
|
||||
Optional<Color> m_active_link_color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue