diff options
author | Andreas Kling <kling@serenityos.org> | 2023-05-10 17:15:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-10 18:46:04 +0200 |
commit | b98252728efaece9cdf8fb939cc98aa4c7ea59cf (patch) | |
tree | 60caed7d7d18f6176ebe868fa1c349dbd971f601 /Tests/LibWeb/Layout/expected/flex | |
parent | 89ba7246dd07f3ec1812736be43606c08d45daef (diff) | |
download | serenity-b98252728efaece9cdf8fb939cc98aa4c7ea59cf.zip |
LibWeb: Fix percentage min/max sizes on flex items with intrinsic ratio
We were resolving percentage values against the containing block size in
the wrong axis.
Diffstat (limited to 'Tests/LibWeb/Layout/expected/flex')
-rw-r--r-- | Tests/LibWeb/Layout/expected/flex/flex-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.txt b/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.txt new file mode 100644 index 0000000000..b735888dc2 --- /dev/null +++ b/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-intrinsic-aspect-ratio-and-percentage-max-width.txt @@ -0,0 +1,4 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer <html> at (1,1) content-size 798x120 [BFC] children: not-inline + Box <body> at (10,10) content-size 780x102 flex-container(column) [FFC] children: not-inline + ImageBox <img> at (11,11) content-size 100x100 flex-item children: not-inline |