diff options
author | Andreas Kling <kling@serenityos.org> | 2022-11-09 16:16:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-11-09 16:16:10 +0100 |
commit | bc807466f9acc21e704a26c7e0f11dfdcd605a5f (patch) | |
tree | 41f9b5ba94cd49d775034d95fd56cf8624ddf9de /Userland | |
parent | 88b15b08190805bb904577f3f0689ae150b62c7a (diff) | |
download | serenity-bc807466f9acc21e704a26c7e0f11dfdcd605a5f.zip |
LibWeb: Finish half-written comment in abspos height calculation
Apparently I forgot to write the whole comment in the previous commit,
8a87f4fa207da2ec40665e6125bffd2a6f7425e2.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FormattingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp index 3d89ab74b7..0c39901a01 100644 --- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp @@ -939,7 +939,7 @@ void FormattingContext::layout_absolutely_positioned_element(Box const& box, Ava // NOTE: We compute height before *and* after doing inside layout. // This is done so that inside layout can resolve percentage heights. - // In a situation like + // In some situations, e.g with non-auto top & bottom values, the height can be determined early. compute_height_for_absolutely_positioned_element(box, available_space); auto independent_formatting_context = layout_inside(box, LayoutMode::Normal, box_state.available_inner_space_or_constraints_from(available_space)); |