mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +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 @@
|
|||
<!doctype html><style type="text/css">
|
||||
* { outline: 1px solid black; }
|
||||
body {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
}
|
||||
img { max-width: 50px; }
|
||||
</style><body><img src="../120.png">
|
Loading…
Add table
Add a link
Reference in a new issue