From 3eb4a1532447debfba6473d51ae2b456b9f3b453 Mon Sep 17 00:00:00 2001 From: Florian Rivoal Date: Fri, 10 Apr 2020 14:30:16 +0000 Subject: [PATCH] Bug 1628250 [wpt PR 22780] - Test for csswg issue 4741, a=testonly Automatic update from web-platform-tests Test for csswg issue 4741 (#22780) https://github.com/w3c/csswg-drafts/issues/4741 -- wpt-commits: 206c4928d65b3643eecb7d525aea43f7de1db8b6 wpt-pr: 22780 --- .../css/css-contain/contain-size-063.html | 62 +++++++++++++++++++ .../reference/contain-size-063-ref.html | 6 ++ 2 files changed, 68 insertions(+) create mode 100644 testing/web-platform/tests/css/css-contain/contain-size-063.html create mode 100644 testing/web-platform/tests/css/css-contain/reference/contain-size-063-ref.html diff --git a/testing/web-platform/tests/css/css-contain/contain-size-063.html b/testing/web-platform/tests/css/css-contain/contain-size-063.html new file mode 100644 index 0000000000000..31a6015cac35f --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/contain-size-063.html @@ -0,0 +1,62 @@ + + +CSS Containment Test: 'contain: size' affects intrinsic size + + + + + + + + +

Test passes if there is no red below. + + +

Arbitrary content content
that takes up size.
Block Layout
+ + +
Arbitrary content content
that takes up size.
Float
+ + +
Arbitrary content content
that takes up size.
Float in narrow wrapper
+ +
+
+
Arbitrary content content
that takes up size.
Grid item giving the first row it's height
+
Arbitrary content content
that takes up size.
Grid item giving the first column its width
+
+ + + + +
+
Arbitrary content content
that takes up size.
content of a table cell giving the fist row it's height
+
Arbitrary content content
that takes up size.
content of a table cell giving the first column it's width
+ diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-size-063-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-size-063-ref.html new file mode 100644 index 0000000000000..9544ebcac23af --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/reference/contain-size-063-ref.html @@ -0,0 +1,6 @@ + + +Test reference + + +

Test passes if there is no red below.