summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html b/testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html
new file mode 100644
index 0000000000..33e8669da0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta charset="utf-8">
+ <title>CSS Grid Test: The subgrid is always stretched in its subgridded dimension(s)</title>
+ <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
+ <link rel="help" href="https://drafts.csswg.org/css-grid-2/#subgrid-box-alignment">
+ <style>
+ body {
+ margin: 0;
+ }
+ .grid {
+ display: inline-block;
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+ }
+ </style>
+</head>
+<body>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+
+ <br>
+
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+ <div class="grid"></div>
+
+</body>
+</html>