mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:27:35 +00:00
LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block()
Let's use spec language for this. :^)
This commit is contained in:
parent
e0809f78a9
commit
169a9150cb
6 changed files with 8 additions and 8 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
void did_set_viewport_rect(Badge<Frame>, const Gfx::IntRect&);
|
||||
|
||||
virtual bool is_root() const override { return true; }
|
||||
virtual bool is_initial_containing_block() const override { return true; }
|
||||
|
||||
void build_stacking_context_tree();
|
||||
|
||||
|
@ -63,5 +63,5 @@ private:
|
|||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Web::Layout::InitialContainingBlockBox)
|
||||
static bool is_type(const Web::Layout::Node& layout_node) { return layout_node.is_root(); }
|
||||
static bool is_type(const Web::Layout::Node& layout_node) { return layout_node.is_initial_containing_block(); }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue