From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../grid-align-stretching-replaced-items.html | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 testing/web-platform/tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html (limited to 'testing/web-platform/tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html') diff --git a/testing/web-platform/tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html b/testing/web-platform/tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html new file mode 100644 index 0000000000..b1dbbd8fd2 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html @@ -0,0 +1,81 @@ + + +CSS Grid Layout Test: alignment for replaced element + + + + + + + + + + + + + + + + + + + + +

This test checks that the alignment properties align-self and justify-self apply the 'stretch' value correctly on replaced elements.

+ +
+

The blue image's original size is 100px x 100px, default alignment is resolved as 'start' for replaced elements so it prevents stretching to be applied.

+
+ +
+
+ +
+

The blue image's original size is 100px x 100px, 'normal' is resolved as 'start' for replaced elements so it prevents stretching to be applied.

+
+ +
+
+ +
+

The blue image's original size is 100px x 100px, but it should be stretched to fill the 500px x 500px grid area it's placed into.

+
+ +
+
+ +
+

The blue image's original size is 100px x 100px, non-stretch values prevent stretching to be applied.

+
+ +
+
+ +
+

The blue image's original size is 100px x 100px, non-auto sizes prevent stretching to be applied.

+
+ +
+
+ +
+

The blue image's original size is 100px x 100px, auto-margins prevent stretching to be applied.

+
+ +
+
+ -- cgit v1.2.3