diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/Node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index 4d86439cec..8809e9c832 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -88,7 +88,7 @@ Box const* Node::containing_block() const ancestor = ancestor->parent(); while (ancestor && ancestor->is_anonymous()) ancestor = nearest_ancestor_capable_of_forming_a_containing_block(*ancestor); - return static_cast<BlockContainer const*>(ancestor); + return static_cast<Box const*>(ancestor); } if (position == CSS::Position::Fixed) |