summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.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-005-ref.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-005-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-005-ref.html161
1 files changed, 161 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>CSS Grid Layout Test: auto-repeat with multiple tracks and line names reference</title>
+ <link rel="author" title="Mozilla" href="https://mozilla.org">
+ <style>
+ .rows {
+ border: 1px solid black;
+ display: inline-grid;
+ grid-auto-flow: column;
+ grid-template-rows: [u v] 10px [w] 10px [x] 10px [y v] 10px [w] 10px [x] 10px [y z];
+ grid-auto-columns: 5px;
+ grid-row-gap: 3px;
+ width: min-content;
+ /* Does not fit a whole-number of repetitions */
+ height: 94px;
+ }
+ div > div {
+ background: blue;
+ }
+ </style>
+</head>
+<body>
+ <div class="rows">
+ <div style="grid-row-start: u"></div>
+ </div>
+ <!-- Non-existant line name -->
+ <div class="rows">
+ <div style="grid-row-start: nonesuch"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: u 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: u -1"></div>
+ </div>
+ <!-- Also non-existant, there is only one u -->
+ <div class="rows">
+ <div style="grid-row-start: u 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: u -2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: u -6"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: u -7"></div>
+ </div>
+ <!-- v -->
+ <div class="rows">
+ <div style="grid-row-start: v"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: v 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: v 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: v -1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: v -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two v's -->
+ <div class="rows">
+ <div style="grid-row-start: v 3"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: v -3"></div>
+ </div>
+ <!-- w -->
+ <div class="rows">
+ <div style="grid-row-start: w"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: w 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: w 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: w -1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: w -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two w's -->
+ <div class="rows">
+ <div style="grid-row-start: w 3"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: w -3"></div>
+ </div>
+ <!-- x -->
+ <div class="rows">
+ <div style="grid-row-start: x"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: x 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: x 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: x -1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: x -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two x's -->
+ <div class="rows">
+ <div style="grid-row-start: x 3"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: x -3"></div>
+ </div>
+ <!-- y -->
+ <div class="rows">
+ <div style="grid-row-start: y"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: y 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: y 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: y -1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: y -2"></div>
+ </div>
+ <!-- Also non-existant, there are only two y's -->
+ <div class="rows">
+ <div style="grid-row-start: y 3"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: y -3"></div>
+ </div>
+ <!-- z -->
+ <div class="rows">
+ <div style="grid-row-start: z"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: z 1"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: z -1"></div>
+ </div>
+ <!-- Also non-existant, there is only one z -->
+ <div class="rows">
+ <div style="grid-row-start: z 2"></div>
+ </div>
+ <div class="rows">
+ <div style="grid-row-start: z -2"></div>
+ </div>
+</body>
+</html>