mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Fix application of intrinsic aspect ratio to flex column items
The intrinsic aspect ratio of a box is a width:height ratio, so if we have the width and need the height, we should divide, not multiply. :^)
This commit is contained in:
parent
2413de7e10
commit
9cded6e1b5
3 changed files with 21 additions and 2 deletions
|
@ -0,0 +1,4 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x200 children: not-inline
|
||||
Box <body> at (0,0) content-size 400x200 flex-container(column) children: not-inline
|
||||
ImageBox <img> at (0,0) content-size 400x200 flex-item children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue