From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../grid-definition/explicit-grid-size-001.html | 176 +++++++ .../flex-content-distribution-001.html | 87 ++++ .../flex-content-resolution-columns-001.html | 182 +++++++ .../flex-content-resolution-columns-002.html | 159 ++++++ .../flex-content-resolution-rows-001.html | 253 +++++++++ .../flex-content-resolution-rows-002.html | 220 ++++++++ .../flex-factor-sum-less-than-1-001.html | 101 ++++ ...ex-item-grid-container-percentage-rows-001.html | 40 ++ .../grid-definition/fr-unit-with-percentage.html | 102 ++++ .../css/css-grid/grid-definition/fr-unit.html | 105 ++++ .../grid-add-item-with-positioned-items-crash.html | 38 ++ ...itioned-block-item-after-inline-item-crash.html | 35 ++ .../grid-auto-explicit-rows-001.html | 39 ++ .../grid-auto-fill-columns-001.html | 185 +++++++ .../grid-definition/grid-auto-fill-rows-001.html | 203 ++++++++ .../grid-definition/grid-auto-fit-columns-001.html | 197 +++++++ .../grid-definition/grid-auto-fit-rows-001.html | 189 +++++++ .../grid-auto-repeat-aspect-ratio-001.html | 6 + .../grid-auto-repeat-aspect-ratio-002.html | 10 + .../grid-auto-repeat-dynamic-001.html | 12 + .../grid-auto-repeat-dynamic-002.html | 12 + .../grid-auto-repeat-dynamic-003.html | 12 + .../grid-auto-repeat-intrinsic-001.html | 109 ++++ .../grid-auto-repeat-max-size-001.tentative.html | 141 +++++ .../grid-auto-repeat-max-size-002.html | 58 +++ .../grid-auto-repeat-min-max-size-001.html | 55 ++ .../grid-auto-repeat-min-size-001.html | 85 +++ .../grid-auto-repeat-min-size-002.html | 59 +++ .../grid-auto-repeat-min-size-003.html | 44 ++ .../grid-auto-repeat-min-size-004.html | 42 ++ .../grid-definition/grid-auto-repeat-minmax.html | 10 + .../grid-auto-repeat-multiple-values-001.html | 55 ++ .../grid-auto-repeat-multiple-values-002-ref.html | 49 ++ .../grid-auto-repeat-multiple-values-002.html | 62 +++ .../grid-auto-repeat-multiple-values-003-ref.html | 104 ++++ .../grid-auto-repeat-multiple-values-003.html | 127 +++++ .../grid-auto-repeat-multiple-values-004-ref.html | 167 ++++++ .../grid-auto-repeat-multiple-values-004.html | 168 ++++++ .../grid-auto-repeat-multiple-values-005-ref.html | 161 ++++++ .../grid-auto-repeat-multiple-values-005.html | 163 ++++++ ...d-auto-repeat-positioned-container-001-ref.html | 29 ++ .../grid-auto-repeat-positioned-container-001.html | 50 ++ .../grid-change-auto-repeat-tracks.html | 178 +++++++ .../grid-change-fit-content-argument-001.html | 74 +++ ...intrinsic-size-with-auto-repeat-tracks-001.html | 151 ++++++ .../grid-inline-auto-repeat-001.html | 48 ++ .../grid-inline-support-flexible-lengths-001.html | 105 ++++ ...rid-inline-support-grid-template-areas-001.html | 72 +++ ...ine-support-grid-template-columns-rows-001.html | 89 ++++ .../grid-inline-support-named-grid-lines-001.html | 123 +++++ .../grid-inline-support-repeat-001.html | 83 +++ ...-template-columns-rows-resolved-values-001.html | 107 ++++ ...columns-rows-resolved-values-001.tentative.html | 277 ++++++++++ .../grid-definition/grid-layout-auto-tracks.html | 51 ++ .../grid-definition/grid-layout-basic.html | 43 ++ .../grid-layout-repeat-notation.html | 56 ++ .../css-grid/grid-definition/grid-limits-001.html | 58 +++ ...grid-minimum-contribution-with-percentages.html | 87 ++++ ...grid-percentage-rows-indefinite-height-001.html | 576 +++++++++++++++++++++ ...grid-percentage-rows-indefinite-height-002.html | 53 ++ .../grid-definition/grid-repeat-max-width-001.html | 53 ++ .../grid-definition/grid-shorthand-001.html | 37 ++ .../grid-support-flexible-lengths-001.html | 105 ++++ .../grid-support-grid-template-areas-001.html | 72 +++ ...rid-support-grid-template-columns-rows-001.html | 89 ++++ .../grid-support-named-grid-lines-001.html | 123 +++++ .../grid-support-named-grid-lines-002-ref.html | 216 ++++++++ .../grid-support-named-grid-lines-002.html | 219 ++++++++ .../grid-support-named-grid-lines-003-ref.html | 222 ++++++++ .../grid-support-named-grid-lines-003.html | 224 ++++++++ .../grid-definition/grid-support-repeat-001.html | 83 +++ .../grid-definition/grid-support-repeat-002.html | 70 +++ .../grid-template-columns-fit-content-001-ref.html | 334 ++++++++++++ .../grid-template-columns-fit-content-001.html | 358 +++++++++++++ .../grid-template-columns-rows-changes-001.html | 76 +++ ...-template-columns-rows-resolved-values-001.html | 107 ++++ ...columns-rows-resolved-values-001.tentative.html | 277 ++++++++++ .../grid-template-rows-fit-content-001-ref.html | 331 ++++++++++++ .../grid-template-rows-fit-content-001.html | 358 +++++++++++++ .../grid-definition/support/testing-utils.js | 43 ++ 80 files changed, 9729 insertions(+) create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/explicit-grid-size-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-content-distribution-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/fr-unit-with-percentage.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/fr-unit.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-explicit-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001.tentative.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-max-size-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-003.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-004.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-minmax.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-change-auto-repeat-tracks.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-change-fit-content-argument-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-auto-repeat-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-areas-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-repeat-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-auto-tracks.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-basic.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-repeat-notation.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-limits-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-minimum-contribution-with-percentages.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-repeat-max-width-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-shorthand-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-areas-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-002.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001-ref.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001.html create mode 100644 testing/web-platform/tests/css/css-grid/grid-definition/support/testing-utils.js (limited to 'testing/web-platform/tests/css/css-grid/grid-definition') diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/explicit-grid-size-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/explicit-grid-size-001.html new file mode 100644 index 0000000000..266c6a568c --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/explicit-grid-size-001.html @@ -0,0 +1,176 @@ + +CSS Grid: grid size with explicit grid-template-areas. + + + + + + + + + + + +
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-distribution-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-distribution-001.html new file mode 100644 index 0000000000..62fb46deeb --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-distribution-001.html @@ -0,0 +1,87 @@ + +CSS Grid Layout Test: free space computation with flex lengths. + + + + + + + + + + + + + + + + +

Grid with justify-content: start.

+
+
+
+
+
+ +

Grid with justify-content: center.

+
+
+
+
+
+ +

Grid with justify-content: end.

+
+
+
+
+
+ +

Grid with align-content: start.

+
+
+
+
+
+ +

Grid with align-content: center.

+
+
+
+
+
+ +

Grid with align-content: end.

+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html new file mode 100644 index 0000000000..ce70aa31de --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html @@ -0,0 +1,182 @@ + + +CSS Grid Layout Test: Auto repeat tracks, grid-template-columns and flexible lengths. + + + + + + + + + + + + + + + + + +
+
+
XXX
+
XXXXX
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ + + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html new file mode 100644 index 0000000000..b92eb9f0dd --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html @@ -0,0 +1,159 @@ + + +CSS Grid Layout Test: Auto repeat tracks, grid-template-columns and minmax sizes. + + + + + + + + + + + + + + + + + +
+
+
XXXXX
+
+
+
+ + +
+
+
XXXXX
+
+
+
+ +
+
+
XXXXX
+
+
+
+ + +
+
+
XX XX
+
XX XX
+
+
+ + +
+
+
XX XX
+
XX XX
+
+
+ +
+
+
XX XX
+
XX XX
+
+
+ + +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
XXXXXXXXXX
+
+
+ + + +
+
+
+
+
+
+
XXXXXXXXXX XXXXXXXXX
+
+
+
+ + +
+
+
+
+
+
+
XXXXXXXXXX XXXXXXXXX
+
+
+
+ +
+
+
+
+
+
+
XXXXXXXXXX XXXXXXXXX
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html new file mode 100644 index 0000000000..d10b84014d --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html @@ -0,0 +1,253 @@ + + +CSS Grid Layout Test: Auto repeat tracks, grid-template-rows and flexible lengths. + + + + + + + + + + + + + + + + + +
+
X
X
X
+
X
X
X
X
X
+
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html new file mode 100644 index 0000000000..d668a93a32 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html @@ -0,0 +1,220 @@ + + +CSS Grid Layout Test: Auto repeat tracks, grid-template-rows and minmax sizes. + + + + + + + + + + + + + + + + + +
+
+
XXXXX
+
+
+
+ + +
+
+
XXXXX
+
+
+
+ +
+
+
XXXXX
+
+
+
+ +
+
+
XXXXX
+
+
+
+ +
+
+
XXXXX
+
+
+
+ +
+
+
XXXXX XXXX
+
XXXXX XXXX
+
+
+ +
+
+
XXXXX XXXX
+
XXXXX XXXX
+
+
+ + +
+
+
XXXXX XXXX
+
XXXXX XXXX
+
+
+ +
+
XXXXX XXXX
+
XXXXX XXXX
+
+ +
+
+
XXXXX XXXX
+
XXXXX XXXX
+
+
+ +
+
+
XXXXX XXXX
+
XXXXX XXXX
+
+
+ +
+
+
XXXXX XXXXX XXXXX XXXXX
+
+
+
+ + +
+
+
XXXXX XXXXX XXXXX XXXXX
+
+
+
+ +
+
+
XXXXX XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+ +
+
+
XXXXX XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+ + +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ + +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ +
+
+
+
XXXXX XXXXX XXXXX XXXXX
+
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html new file mode 100644 index 0000000000..ad7af2d846 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html @@ -0,0 +1,101 @@ + + +CSS Grid Layout Test: flex factor sum smaller than 1. + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html new file mode 100644 index 0000000000..ba655ce8a1 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html @@ -0,0 +1,40 @@ + +CSS Grid Layout Test: Percentage rows resolution in a flex item grid container + + + + + + + + + +

Test passes if you see a 200x200 box with top half cyan and bottom half magenta.

+ +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit-with-percentage.html b/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit-with-percentage.html new file mode 100644 index 0000000000..82c97abdd5 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit-with-percentage.html @@ -0,0 +1,102 @@ + + + + CSS3 Grid Layout: Flexible Length + + + + + + + +

Test passes if there is a green square and no red.

+ +
+
+
cell1
+
cell2
+
cell3
+
cell4
+
+
+ + + + + + + + + + + +
  
  
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit.html b/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit.html new file mode 100644 index 0000000000..00ef5a5974 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/fr-unit.html @@ -0,0 +1,105 @@ + + + + CSS3 Grid Layout: Flexible Length + + + + + + + + +

Test passes if there is a green square and no red.

+ +
+
+
cell1
+
cell2
+
cell3
+
cell4
+
+
+ + + + + + + + + + + +
  
  
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html new file mode 100644 index 0000000000..7b2ed99f22 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html @@ -0,0 +1,38 @@ + + + +CSS Grid Layout Test: no crash with adding positioned grid items + + + + + + + + + +
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html new file mode 100644 index 0000000000..4b7aa9913a --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html @@ -0,0 +1,35 @@ + + + +CSS Grid Layout Test: no crash with positioned block grid items + + + + + + + + + +
+ test +
+ + + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-explicit-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-explicit-rows-001.html new file mode 100644 index 0000000000..81b531ca34 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-explicit-rows-001.html @@ -0,0 +1,39 @@ + +grid-auto applies to explicit rows + + + + + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html new file mode 100644 index 0000000000..44c6080101 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html @@ -0,0 +1,185 @@ + +CSS Grid: auto-fill columns + + + + + + + + + + + + + + + + + + +
+ +

This test checks that repeat(auto-fill, ) syntax works as expected.

+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html new file mode 100644 index 0000000000..55462fa8d0 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html @@ -0,0 +1,203 @@ + +CSS Grid: auto-fill rows + + + + + + + + + + + + + + + + + + + +
+ +

This test checks that repeat(auto-fill, ) syntax works as expected.

+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html new file mode 100644 index 0000000000..b19881f5ac --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html @@ -0,0 +1,197 @@ + +CSS Grid: auto-fit columns + + + + + + + + + + + + + + + + + + + + +
+ +

This test checks that repeat(auto-fit, ) syntax works as expected.

+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html new file mode 100644 index 0000000000..627a980c08 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html @@ -0,0 +1,189 @@ + +CSS Grid: auto-fit rows + + + + + + + + + + + + + + + + + + +
+ +

This test checks that repeat(auto-fit, ) syntax works as expected.

+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-001.html new file mode 100644 index 0000000000..bd744cf0cb --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-001.html @@ -0,0 +1,6 @@ + + + + +

Test passes if there is a filled green square.

+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-002.html new file mode 100644 index 0000000000..3b74e79224 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-aspect-ratio-002.html @@ -0,0 +1,10 @@ + + + + +

Test passes if there is a filled green square.

+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-001.html new file mode 100644 index 0000000000..2537892887 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-001.html @@ -0,0 +1,12 @@ + + + + +

Test passes if there is a filled green square.

+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-002.html new file mode 100644 index 0000000000..8df2158d1f --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-002.html @@ -0,0 +1,12 @@ + + + + +

Test passes if there is a filled green square.

+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html new file mode 100644 index 0000000000..c2fe3ff98a --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-dynamic-003.html @@ -0,0 +1,12 @@ + + + + +

Test passes if there is a filled green square.

+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html new file mode 100644 index 0000000000..ba65e9a7e9 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html @@ -0,0 +1,109 @@ + +CSS Grid: auto repeat computation for intrinsic sizes. + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001.tentative.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001.tentative.html new file mode 100644 index 0000000000..144ded9f36 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001.tentative.html @@ -0,0 +1,141 @@ + + +CSS Grid Layout Test: Auto repeat tracks and max sizes + + + + + + + + + + + +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
x
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-002.html new file mode 100644 index 0000000000..9fc0c98311 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-002.html @@ -0,0 +1,58 @@ + + +CSS Grid Layout Test: Auto repeat tracks and percentage max sizes + + + + + + + + + + +
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-max-size-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-max-size-001.html new file mode 100644 index 0000000000..7ff8b2ca23 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-max-size-001.html @@ -0,0 +1,55 @@ + + +CSS Grid Layout Test: Auto repeat tracks with min and max sizes + + + + + + + + + + +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-001.html new file mode 100644 index 0000000000..cb29eed153 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-001.html @@ -0,0 +1,85 @@ + + +CSS Grid Layout Test: Auto repeat tracks and min sizes + + + + + + + + + + +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-002.html new file mode 100644 index 0000000000..4c73da7773 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-002.html @@ -0,0 +1,59 @@ + + +CSS Grid Layout Test: Auto repeat tracks and percentage min sizes + + + + + + + + + + +
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-003.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-003.html new file mode 100644 index 0000000000..ffaaab33ae --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-003.html @@ -0,0 +1,44 @@ + + +CSS Grid Layout Test: Auto repeat tracks and percentage min sizes with percentage track sizes + + + + + + + + + + + +
+ +
+
+
Cell 1
+
Cell 2
+
Cell 3
+
Cell 4
+
Cell 5
+
+
\ No newline at end of file diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-004.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-004.html new file mode 100644 index 0000000000..8d2eda7902 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-min-size-004.html @@ -0,0 +1,42 @@ + + +CSS Grid Layout Test: Auto repeat tracks and percentage min sizes with percentage track sizes + + + + + + + + + + +
+
+
+
Cell 1
+
Cell 2
+
Cell 3
+
Cell 4
+
Cell 5
+
+
\ No newline at end of file diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-minmax.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-minmax.html new file mode 100644 index 0000000000..f6c7af1e70 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-minmax.html @@ -0,0 +1,10 @@ + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-001.html new file mode 100644 index 0000000000..085d94996f --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-001.html @@ -0,0 +1,55 @@ + + + + + + CSS Grid Layout Test: Auto Repaeat with Multiple Tracks and Gutters + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
+
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002-ref.html new file mode 100644 index 0000000000..754fec3fa0 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002-ref.html @@ -0,0 +1,49 @@ + + + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002.html new file mode 100644 index 0000000000..723d876a6a --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002.html @@ -0,0 +1,62 @@ + + + + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003-ref.html new file mode 100644 index 0000000000..975c94b795 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003-ref.html @@ -0,0 +1,104 @@ + + + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003.html new file mode 100644 index 0000000000..486259a5d3 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003.html @@ -0,0 +1,127 @@ + + + + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004-ref.html new file mode 100644 index 0000000000..650b7d9eaf --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004-ref.html @@ -0,0 +1,167 @@ + + + + + CSS Grid Layout Test: auto-repeat with multiple tracks and line names reference + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html new file mode 100644 index 0000000000..460de5f9e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html @@ -0,0 +1,168 @@ + + + + + CSS Grid Layout Test: auto-repeat with multiple tracks and line names + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.html new file mode 100644 index 0000000000..305d256fcb --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.html @@ -0,0 +1,161 @@ + + + + + CSS Grid Layout Test: auto-repeat with multiple tracks and line names reference + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005.html new file mode 100644 index 0000000000..8671df79b7 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005.html @@ -0,0 +1,163 @@ + + + + + CSS Grid Layout Test: auto-repeat with multiple tracks and line names + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001-ref.html new file mode 100644 index 0000000000..a017563aa3 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001-ref.html @@ -0,0 +1,29 @@ + + + + +

Test passes if you get a grid with 5 rows of 20px and 4 columns of 25px.

+ +
grid: 20px 20px 20px 20px 20px / 25px 25px 25px 25px;
+ +
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html new file mode 100644 index 0000000000..309ad85671 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html @@ -0,0 +1,50 @@ + +CSS Grid: auto-repeat tracks on a positioned grid container. + + + + + + + + +

Test passes if you get a grid with 5 rows of 20px and 4 columns of 25px.

+ +

+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-auto-repeat-tracks.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-auto-repeat-tracks.html new file mode 100644 index 0000000000..c2d17ec615 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-auto-repeat-tracks.html @@ -0,0 +1,178 @@ + + +CSS Grid Layout Test: Support 'repeat()' notation for 'grid-template-columns' and 'grid-template-rows' properties + + + + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-fit-content-argument-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-fit-content-argument-001.html new file mode 100644 index 0000000000..d697af4743 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-fit-content-argument-001.html @@ -0,0 +1,74 @@ + + + +CSS Grid Layout Test: Change fit-content() argument + + + + + + + + + + + + + +
+
XXXX XXX XX X X
+
+ +
+
XXXX XXX XX X X
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html new file mode 100644 index 0000000000..437ad81879 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html @@ -0,0 +1,151 @@ + +CSS Grid: auto-repeat tracks and intrinsic sizes. + + + + + + + + + + + + + +
This test checks that changing the min|max-content contributions of grid items properly recomputes both track sizes and grid positions in grids with auto repeat tracks.
+
+ +
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-auto-repeat-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-auto-repeat-001.html new file mode 100644 index 0000000000..deda565667 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-auto-repeat-001.html @@ -0,0 +1,48 @@ + + + +CSS Grid Layout Test: auto repeat tracks in indefinite containers with minimum size + + + + + + + + +
+ +
+
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html new file mode 100644 index 0000000000..3a2c942389 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html @@ -0,0 +1,105 @@ + + +CSS Grid Layout Test: Support flexible lengths for 'grid-template-columns' and 'grid-template-rows' properties within an inline grid + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-areas-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-areas-001.html new file mode 100644 index 0000000000..1573fa496f --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-areas-001.html @@ -0,0 +1,72 @@ + + +CSS Grid Layout Test: Support for 'grid-template-ares' property within an inline grid + + + + + + + + +
+ +
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html new file mode 100644 index 0000000000..32733e238f --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html @@ -0,0 +1,89 @@ + + +CSS Grid Layout Test: Support for 'grid-template-columns' and 'grid-template-rows' properties within an inline grid + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html new file mode 100644 index 0000000000..fc4caf2823 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html @@ -0,0 +1,123 @@ + + +CSS Grid Layout Test: Support for named grid lines in 'grid-template-columns' and 'grid-template-rows' properties within an inline grid + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-repeat-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-repeat-001.html new file mode 100644 index 0000000000..465e5e8cd8 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-support-repeat-001.html @@ -0,0 +1,83 @@ + + +CSS Grid Layout Test: Support 'repeat()' notation for 'grid-template-columns' and 'grid-template-rows' properties within an inline grid + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html new file mode 100644 index 0000000000..ff1f814309 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html @@ -0,0 +1,107 @@ + + +CSS Grid Layout Test: 'grid-template-columns' and 'grid-template-rows' properties resolved values for implicit tracks in an inline grid + + + + + + + + + +
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative.html new file mode 100644 index 0000000000..44abd5ee8a --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative.html @@ -0,0 +1,277 @@ + + +CSS Grid Layout Test: 'grid-template-columns' and 'grid-template-rows' properties resolved values for implicit tracks in an inline grid + + + + + + + + + + +
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-auto-tracks.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-auto-tracks.html new file mode 100644 index 0000000000..2cc3614d9e --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-auto-tracks.html @@ -0,0 +1,51 @@ + + + + CSS Grid Layout Test: auto tracks + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
 
+
 
+
 
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-basic.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-basic.html new file mode 100644 index 0000000000..578f70173b --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-basic.html @@ -0,0 +1,43 @@ + + + + CSS Grid Layout Test: basic + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
 
+
 
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-repeat-notation.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-repeat-notation.html new file mode 100644 index 0000000000..ac0273f83a --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-layout-repeat-notation.html @@ -0,0 +1,56 @@ + + + + CSS Grid Layout Test: repeat notation + + + + + + + +

The test passes if it has the same visual effect as reference.

+
+
 
+
 
+
 
+
 
+
 
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-limits-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-limits-001.html new file mode 100644 index 0000000000..fe0d01492b --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-limits-001.html @@ -0,0 +1,58 @@ + + + + + + + + +
+
+
+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-minimum-contribution-with-percentages.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-minimum-contribution-with-percentages.html new file mode 100644 index 0000000000..146956c295 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-minimum-contribution-with-percentages.html @@ -0,0 +1,87 @@ + + +CSS Grid Layout Test: minimum contribution with percentages + + + + +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html new file mode 100644 index 0000000000..c0be13ead8 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html @@ -0,0 +1,576 @@ + + + +CSS Grid Layout Test: Percentage rows indefinite height + + + + + + + + + + + + + +
+ +

grid-template-rows: 60%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +

grid-template-rows: 140%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +

grid-template-rows: 100px 60%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +

grid-template-rows: 100px 140%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +

grid-template-rows: auto 60%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +

grid-template-rows: auto 140%;

+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ +
+
+
+ +
+
X
+
+ +
+
X
X
+
+ +
+
X
+
+
+ +
+
X
+
X
+
+ +
+
X
+
X
X
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html new file mode 100644 index 0000000000..4b14f9c6ee --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html @@ -0,0 +1,53 @@ + + + +CSS Grid Layout Test: Percentage rows indefinite height 2nd pass + + + + + + + + + + + + +
+ +
+
+
X
+
+
+ +
+
X
+
X
+
X
+
+ +
+
+
X X X X
+
+
+ +
+
X
+
X X X X
+
X
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-repeat-max-width-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-repeat-max-width-001.html new file mode 100644 index 0000000000..15a9f8a14c --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-repeat-max-width-001.html @@ -0,0 +1,53 @@ + +Grid repeat(auto) with max-width shouldn't pay attention only to that + + + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-shorthand-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-shorthand-001.html new file mode 100644 index 0000000000..476415e8df --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-shorthand-001.html @@ -0,0 +1,37 @@ + + +CSS Grid Layout Test: 'grid' shorthand does not reset gutter properties + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001.html new file mode 100644 index 0000000000..0dae45b39d --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001.html @@ -0,0 +1,105 @@ + + +CSS Grid Layout Test: Support flexible lengths for 'grid-template-columns' and 'grid-template-rows' properties + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-areas-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-areas-001.html new file mode 100644 index 0000000000..ed4c500a19 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-areas-001.html @@ -0,0 +1,72 @@ + + +CSS Grid Layout Test: Support for 'grid-template-ares' property + + + + + + + + +
+ +
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html new file mode 100644 index 0000000000..bf818cd85e --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html @@ -0,0 +1,89 @@ + + +CSS Grid Layout Test: Support for 'grid-template-columns' and 'grid-template-rows' properties + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001.html new file mode 100644 index 0000000000..bff5e8151c --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001.html @@ -0,0 +1,123 @@ + + +CSS Grid Layout Test: Support for named grid lines in 'grid-template-columns' and 'grid-template-rows' properties + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002-ref.html new file mode 100644 index 0000000000..d65696428c --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002-ref.html @@ -0,0 +1,216 @@ + + + + + + + +

The test passes if it has the same visual effect as reference.

+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002.html new file mode 100644 index 0000000000..6b3b19ef97 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002.html @@ -0,0 +1,219 @@ + + +CSS Grid Layout Test: Support for named grid lines when 'grid-template-columns' and 'grid-template-rows' have multiple values inside of a repeat. + + + + + + +

The test passes if it has the same visual effect as reference.

+ + +
+
+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003-ref.html new file mode 100644 index 0000000000..33f88bf374 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003-ref.html @@ -0,0 +1,222 @@ + + + + + + + +

The test passes if it has the same visual effect as reference.

+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003.html new file mode 100644 index 0000000000..c2c722485f --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003.html @@ -0,0 +1,224 @@ + + +CSS Grid Layout Test: Support for named grid lines when 'grid-template-columns' and 'grid-template-rows' have multiple values inside of a repeat. + + + + + + +

The test passes if it has the same visual effect as reference.

+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-001.html new file mode 100644 index 0000000000..c2c8be0c59 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-001.html @@ -0,0 +1,83 @@ + + +CSS Grid Layout Test: Support 'repeat()' notation for 'grid-template-columns' and 'grid-template-rows' properties + + + + + + + + + +
+ +
+
+
GRID ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-002.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-002.html new file mode 100644 index 0000000000..a5174fe6f3 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-support-repeat-002.html @@ -0,0 +1,70 @@ + + +CSS Grid Layout Test: Support 'repeat()' notation for 'grid-template-columns' and 'grid-template-rows' properties + + + + + + +
+ +
+
GRID ITEM
+
+ + + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001-ref.html new file mode 100644 index 0000000000..13002a7037 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001-ref.html @@ -0,0 +1,334 @@ + + + +CSS Grid Layout Test: grid-template-columns fit-content() reference file + + + + + + +

The test passes if it has the same output than the reference.

+ +
+

Only fit-content() and with fixed size tracks.

+
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+ +
+

fit-content() with other content-sized tracks.

+
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+
+ +
+

fit-content() with percentage arguments.

+
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XX XX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
X X X
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+
+ +
+

max-content < fit-content() argument.

+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html new file mode 100644 index 0000000000..cecc53f896 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html @@ -0,0 +1,358 @@ + + + +CSS Grid Layout Test: grid-template-columns fit-content() + + + + + + + + + +

The test passes if it has the same output than the reference.

+ +
+

Only fit-content() and with fixed size tracks.

+
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+ +
+

fit-content() with other content-sized tracks.

+
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+
+ +
+

fit-content() with percentage arguments.

+
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XX XX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
X X X
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+
+ +
+

max-content < fit-content() argument.

+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001.html new file mode 100644 index 0000000000..b32d24859e --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001.html @@ -0,0 +1,76 @@ + + +CSS Grid: grid-tempalte-{rows|colums} dynamic updates + + + + + + + + + + + + +
+
+
XXXXX XXXXXX
+
+
+ +
+
+
XXXXX XXXXXX
+
+
+ +
+
+
XXXXX XXXXXX
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html new file mode 100644 index 0000000000..c992bf66d2 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html @@ -0,0 +1,107 @@ + + +CSS Grid Layout Test: 'grid-template-columns' and 'grid-template-rows' properties resolved values for implicit tracks + + + + + + + + + +
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative.html new file mode 100644 index 0000000000..d3ab109329 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative.html @@ -0,0 +1,277 @@ + + +CSS Grid Layout Test: 'grid-template-columns' and 'grid-template-rows' properties resolved values for implicit tracks + + + + + + + + + + +
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ +
+
FIRST ITEM
+
SECOND ITEM
+
THIRD
ITEM
+
+ + diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001-ref.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001-ref.html new file mode 100644 index 0000000000..dc39cccc68 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001-ref.html @@ -0,0 +1,331 @@ + + + +CSS Grid Layout Test: grid-template-rows fit-content() reference file + + + + + + +

The test passes if it has the same output than the reference.

+ +
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
+ +
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XX XX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
X X X
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001.html b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001.html new file mode 100644 index 0000000000..14ac0c9c39 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001.html @@ -0,0 +1,358 @@ + + + +CSS Grid Layout Test: grid-template-rows fit-content() + + + + + + + + + +

The test passes if it has the same output than the reference.

+ +
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ + +
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXXXX
+
XXX XX XXX
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
XXX XX
+
XXX XX XXX
+
+
+
+
+ +
+
+ +
+
XXX
+
+
+ +
+
XXX
+
XXX
+
+
+
+ +
+
XX XX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
X X X
+
XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
+
+ +
+
XXX XXX XXX
+
+
+
+ +
+
XXX XXX XXX
+
XXX XXX XXX
+
+
+
+ +
+
+ +
+
XXX XXX
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
XXX XXX
+
+
+
+ +
+
XXX XXX
+
+
+
+ +
+
XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
+ +
+
XX XX XX XX
+
XXX XXX
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-grid/grid-definition/support/testing-utils.js b/testing/web-platform/tests/css/css-grid/grid-definition/support/testing-utils.js new file mode 100644 index 0000000000..30b944265b --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-definition/support/testing-utils.js @@ -0,0 +1,43 @@ +var TestingUtils = (function() { + + function checkGridTemplateColumns(element, value) { + if (!Array.isArray(value)) + value = new Array(value); + assert_in_array(getComputedStyle(element).gridTemplateColumns, value, "gridTemplateColumns"); + } + + function checkGridTemplateRows(element, value) { + if (!Array.isArray(value)) + value = new Array(value); + assert_in_array(getComputedStyle(element).gridTemplateRows, value, "gridTemplateRows"); + } + + function testGridTemplateColumnsRows(gridId, columnsStyle, rowsStyle, columnsComputedValue, rowsComputedValue, label) { + test(function() { + var grid = document.getElementById(gridId); + grid.style.gridTemplateColumns = columnsStyle; + grid.style.gridTemplateRows = rowsStyle; + checkGridTemplateColumns(grid, columnsComputedValue); + checkGridTemplateRows(grid, rowsComputedValue); + }, (label ? label + " " : "") + "'" + gridId + "' with: grid-template-columns: " + columnsStyle + "; and grid-template-rows: " + rowsStyle + ";"); + } + + function checkGridTemplateAreas(element, value) { + if (!Array.isArray(value)) + value = new Array(value); + assert_in_array(getComputedStyle(element).gridTemplateAreas, value, "gridTemplateAreas"); + } + + function testGridTemplateAreas(gridId, style, value) { + test(function() { + var grid = document.getElementById(gridId); + grid.style.gridTemplateAreas = style; + checkGridTemplateAreas(grid, value); + }, "'" + gridId + "' with: grid-template-areas: " + style + ";"); + } + + return { + testGridTemplateColumnsRows: testGridTemplateColumnsRows, + testGridTemplateAreas: testGridTemplateAreas + } +})(); -- cgit v1.2.3