mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
LibWeb: Adjust flex item intrinsic contributions through aspect ratio
When determining the intrinsic cross size contribution of a flex item with a preferred aspect ratio, we have to account for any min/max constraints in the main axis.
This commit is contained in:
parent
81fbb5ebc2
commit
bde2d3dc7b
Notes:
github-actions[bot]
2024-08-21 11:39:27 +00:00
Author: https://github.com/awesomekling
Commit: bde2d3dc7b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1154
4 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x0 [BFC] children: not-inline
|
||||
Box <body> at (8,8) content-size 50x50 positioned flex-container(row) [FFC] children: not-inline
|
||||
ImageBox <img> at (8,8) content-size 50x50 flex-item children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x0] overflow: [8,8 50x50]
|
||||
PaintableBox (Box<BODY>) [8,8 50x50]
|
||||
ImagePaintable (ImageBox<IMG>) [8,8 50x50]
|
Loading…
Add table
Add a link
Reference in a new issue