From 546f228245b280380f052660e3057955882b6b78 Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Mon, 11 May 2020 17:08:45 +0000 Subject: [PATCH] Bug 1622935 Part 4d - Add more reftests for single-line flex container in zero height multicols. r=dholbert Differential Revision: https://phabricator.services.mozilla.com/D74497 --- .../flexbox-single-column-5-ref.html | 46 +++++++++++++++++ .../pagination/flexbox-single-column-5.html | 51 +++++++++++++++++++ .../pagination/flexbox-single-row-4-ref.html | 46 +++++++++++++++++ .../pagination/flexbox-single-row-4.html | 51 +++++++++++++++++++ .../reftests/flexbox/pagination/reftest.list | 2 + 5 files changed, 196 insertions(+) create mode 100644 layout/reftests/flexbox/pagination/flexbox-single-column-5-ref.html create mode 100644 layout/reftests/flexbox/pagination/flexbox-single-column-5.html create mode 100644 layout/reftests/flexbox/pagination/flexbox-single-row-4-ref.html create mode 100644 layout/reftests/flexbox/pagination/flexbox-single-row-4.html diff --git a/layout/reftests/flexbox/pagination/flexbox-single-column-5-ref.html b/layout/reftests/flexbox/pagination/flexbox-single-column-5-ref.html new file mode 100644 index 000000000000..5fe3de2192da --- /dev/null +++ b/layout/reftests/flexbox/pagination/flexbox-single-column-5-ref.html @@ -0,0 +1,46 @@ + + + + + CSS Flexbox Test Reference: Fragmentation of height:auto single-line column flex container in a zero height multicol + + + + + + + + +
+
+
abc
def
+
+
+ + +
+
+
abc
def
+
+
+ + diff --git a/layout/reftests/flexbox/pagination/flexbox-single-column-5.html b/layout/reftests/flexbox/pagination/flexbox-single-column-5.html new file mode 100644 index 000000000000..97671136280b --- /dev/null +++ b/layout/reftests/flexbox/pagination/flexbox-single-column-5.html @@ -0,0 +1,51 @@ + + + + + CSS Flexbox Test: Fragmentation of height:auto single-line column flex container in a zero height multicol + + + + + + + + + + + +
+
+
abc
def
+
+
+ + +
+
+
abc
def
+
+
+ + diff --git a/layout/reftests/flexbox/pagination/flexbox-single-row-4-ref.html b/layout/reftests/flexbox/pagination/flexbox-single-row-4-ref.html new file mode 100644 index 000000000000..eec267cb3ef7 --- /dev/null +++ b/layout/reftests/flexbox/pagination/flexbox-single-row-4-ref.html @@ -0,0 +1,46 @@ + + + + + CSS Flexbox Test Reference: Fragmentation of height:auto single-line row flex container in a zero height multicol + + + + + + + + +
+
+
abcdef
+
+
+ + +
+
+
abcdef
+
+
+ + diff --git a/layout/reftests/flexbox/pagination/flexbox-single-row-4.html b/layout/reftests/flexbox/pagination/flexbox-single-row-4.html new file mode 100644 index 000000000000..a4d88d4a0bd1 --- /dev/null +++ b/layout/reftests/flexbox/pagination/flexbox-single-row-4.html @@ -0,0 +1,51 @@ + + + + + CSS Flexbox Test: Fragmentation of height:auto single-line row flex container in a zero height multicol + + + + + + + + + + + +
+
+
abc
def
+
+
+ + +
+
+
abc
def
+
+
+ + diff --git a/layout/reftests/flexbox/pagination/reftest.list b/layout/reftests/flexbox/pagination/reftest.list index 7a1fd02ba212..319f2d8ec43e 100644 --- a/layout/reftests/flexbox/pagination/reftest.list +++ b/layout/reftests/flexbox/pagination/reftest.list @@ -55,6 +55,7 @@ fuzzy-if(Android&&webrender,0-128,0-10) == flexbox-empty-2d.html flexbox-empty-2 == flexbox-single-column-3a.html flexbox-single-column-3-ref.html == flexbox-single-column-3b.html flexbox-single-column-3-ref.html == flexbox-single-column-4.html flexbox-single-column-4-ref.html +== flexbox-single-column-5.html flexbox-single-column-5-ref.html # Tests for how we fragment flex items in a single-line row flex container. == flexbox-single-row-1a.html flexbox-single-row-1-ref.html @@ -68,3 +69,4 @@ fuzzy-if(Android&&webrender,0-128,0-10) == flexbox-empty-2d.html flexbox-empty-2 == flexbox-single-row-2.html flexbox-single-row-2-ref.html == flexbox-single-row-3a.html flexbox-single-row-3-ref.html == flexbox-single-row-3b.html flexbox-single-row-3-ref.html +== flexbox-single-row-4.html flexbox-single-row-4-ref.html