mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
LibWeb: Finish half-written comment in abspos height calculation
Apparently I forgot to write the whole comment in the previous commit,
8a87f4fa20
.
This commit is contained in:
parent
88b15b0819
commit
bc807466f9
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue