summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-004.html168
1 files changed, 168 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>CSS Grid Layout Test: auto-repeat with multiple tracks and line names</title>
+ <link rel="author" title="Mozilla" href="https://mozilla.org">
+ <link rel="help" href="https://www.w3.org/TR/css-grid-1/#repeat-notation">
+ <link rel="match" href="grid-auto-repeat-multiple-values-004-ref.html">
+ <style>
+ .columns {
+ border: 1px solid black;
+ display: grid;
+ grid-template-columns: [u] repeat(auto-fill, [v] 10px [w] 10px [x] 10px [y]) [z];
+ grid-auto-rows: 5px;
+ grid-column-gap: 3px;
+ /* Does not fit a whole-number of repetitions */
+ width: 94px;
+ }
+ div > div {
+ background: blue;
+ }
+ </style>
+</head>
+<body>
+ <!-- u -->
+ <div class="columns">
+ <div style="grid-column-start: u"></div>
+ </div>
+ <!-- Non-existant line name -->
+ <div class="columns">
+ <div style="grid-column-start: nonesuch"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u -1"></div>
+ </div>
+ <!-- Also non-existant, there is only one u -->
+ <div class="columns">
+ <div style="grid-column-start: u 4"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u 9"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u -2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u -6"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: u -7"></div>
+ </div>
+ <!-- v -->
+ <div class="columns">
+ <div style="grid-column-start: v"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: v 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: v 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: v -1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: v -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two v's -->
+ <div class="columns">
+ <div style="grid-column-start: v 3"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: v -3"></div>
+ </div>
+ <!-- w -->
+ <div class="columns">
+ <div style="grid-column-start: w"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: w 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: w 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: w -1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: w -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two w's -->
+ <div class="columns">
+ <div style="grid-column-start: w 3"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: w -3"></div>
+ </div>
+ <!-- x -->
+ <div class="columns">
+ <div style="grid-column-start: x"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: x 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: x 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: x -1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: x -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two x's -->
+ <div class="columns">
+ <div style="grid-column-start: x 3"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: x -3"></div>
+ </div>
+ <!-- y -->
+ <div class="columns">
+ <div style="grid-column-start: y"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: y 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: y 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: y -1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: y -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two y's -->
+ <div class="columns">
+ <div style="grid-column-start: y -3"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: y 3"></div>
+ </div>
+ <!-- z -->
+ <div class="columns">
+ <div style="grid-column-start: z"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: z 1"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: z -1"></div>
+ </div>
+ <!-- Also non-existant, there is only one z -->
+ <div class="columns">
+ <div style="grid-column-start: z 2"></div>
+ </div>
+ <div class="columns">
+ <div style="grid-column-start: z -2"></div>
+ </div>
+</body>
+</html>