mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Make CSS Grid work again
Fixes bug after the automatic_content_height() changes where the height of the grid container was not being calculated correctly.
This commit is contained in:
parent
69d86a60e5
commit
521e19444c
Notes:
sideshowbarker
2024-07-17 06:39:41 +09:00
Author: https://github.com/martinfalisse
Commit: 521e19444c
Pull-request: https://github.com/SerenityOS/serenity/pull/15348
1 changed files with 0 additions and 2 deletions
|
@ -259,8 +259,6 @@ 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