mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibWeb: Inform the parent context of the grid's size
This commit is contained in:
parent
214329b81c
commit
df22f38feb
2 changed files with 13 additions and 0 deletions
|
@ -256,6 +256,8 @@ float FormattingContext::compute_auto_height_for_block_level_element(LayoutState
|
|||
auto display = box.computed_values().display();
|
||||
if (display.is_flex_inside())
|
||||
return box_state.content_height();
|
||||
if (display.is_grid_inside())
|
||||
return box_state.content_height();
|
||||
|
||||
// https://www.w3.org/TR/CSS22/visudet.html#normal-block
|
||||
// 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue