diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-24 14:34:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-24 16:49:51 +0200 |
commit | 959464fce404f53a8af4ce0b38ec7426f3eb8a05 (patch) | |
tree | aee7ddc63c172478e4224ef1859b50f0d8d45023 /Libraries/LibWeb/Layout/LayoutBox.cpp | |
parent | 6f28f080969191e4a966d226739ad48cf43dac72 (diff) | |
download | serenity-959464fce404f53a8af4ce0b38ec7426f3eb8a05.zip |
LibWeb: Move position and text-align to LayoutStyle
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutBox.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBox.cpp b/Libraries/LibWeb/Layout/LayoutBox.cpp index 4269cbfb93..194b9c841e 100644 --- a/Libraries/LibWeb/Layout/LayoutBox.cpp +++ b/Libraries/LibWeb/Layout/LayoutBox.cpp @@ -323,7 +323,7 @@ bool LayoutBox::establishes_stacking_context() const return false; if (node() == document().root()) return true; - auto position = this->position(); + auto position = style().position(); auto z_index = style().z_index(); if (position == CSS::Position::Absolute || position == CSS::Position::Relative) { if (z_index.has_value()) |