From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../flex-aspect-ratio-img-column-017.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-017.html (limited to 'testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-017.html') diff --git a/testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-017.html b/testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-017.html new file mode 100644 index 0000000000..b2b97f0a31 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/flex-aspect-ratio-img-column-017.html @@ -0,0 +1,34 @@ + +Non aspect-ratio svg flex item + + + + + + + + + +
+ +
+Specified size suggestion = 200px
+Content size suggestion = 150px [1]
+Automatic minimum height = min(150px, 200px)
+
+[1] fallback size from last bullet point in https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes :
+
+For boxes without a preferred aspect ratio:
+ * If the available space is definite in the appropriate dimension, use the stretch fit into that size in that dimension.
+ * Otherwise, if the box has a  as its computed minimum size (min-width/min-height) in that dimension, use that size.
+ * Otherwise, use 300px for the width and/or 150px for the height as needed.
+
+
+Pass condition: there is a 150x150 green square. +
+ +
+ + -- cgit v1.2.3