mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
LibWeb: Support positioning of abspos boxes inside grid container
- Out-of-flow items should not affect grid layout - "The static position of an absolutely-positioned child of a grid container is determined as if it were the sole grid item in a grid area whose edges coincide with the content edges of the grid container."
This commit is contained in:
parent
073eb46824
commit
568c486610
4 changed files with 51 additions and 0 deletions
|
@ -223,6 +223,8 @@ private:
|
|||
void determine_grid_container_height();
|
||||
void determine_intrinsic_size_of_grid_container(AvailableSpace const& available_space);
|
||||
|
||||
virtual void parent_context_did_dimension_child_root_box() override;
|
||||
|
||||
void resolve_grid_item_widths();
|
||||
void resolve_grid_item_heights();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue