summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html')
-rw-r--r--layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html168
1 files changed, 168 insertions, 0 deletions
diff --git a/layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html b/layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html
new file mode 100644
index 0000000000..23dc42b692
--- /dev/null
+++ b/layout/reftests/css-grid/grid-track-intrinsic-sizing-002-ref.html
@@ -0,0 +1,168 @@
+<!DOCTYPE HTML>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html><head>
+ <meta charset="utf-8">
+ <title>CSS Grid Test: Intrinsic track sizing (w/o span:1)</title>
+ <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1151212">
+ <style type="text/css">
+body,html { color:black; background:white; font-family:monospace; font-size:16px; padding:0; margin:0; }
+
+.grid {
+ position: relative;
+ display: grid;
+ border: 1px dashed;
+ width: 500px;
+ grid-template-columns: auto;
+ padding-bottom:10px;
+ justify-content: start;
+ align-content: start;
+}
+
+.d1 {
+ position: absolute;
+ bottom: 0;
+ background: grey;
+}
+.g1 .d1 {
+ width: 0px;
+}
+.g2 .d1 {
+ width: 0px;
+}
+.g2f .d1 {
+ width: 0px;
+}
+.g3 .d1 {
+ width: 0px;
+}
+.g4 .d1 {
+ width: 80px;
+}
+.g4f .d1 {
+ width: 0px;
+}
+.g5 .d1 {
+ width: 80px;
+}
+.g6 .d1 {
+ width: 0px;
+}
+.g6f .d1 {
+ width: 0px;
+}
+.g7 .d1 {
+ width: 0px;
+}
+.g8 .t {
+ width: 196px;
+}
+.g8 .d1 {
+ width: 200px;
+}
+.g9 .d1 {
+ width: 0px;
+}
+.gA .d1 {
+ width: 80px;
+}
+.gB .d1 {
+ width: 80px;
+}
+.gC .d1 {
+ width: 80px;
+}
+.gD .d1 {
+ width: 80px;
+}
+
+.t { grid-column: span 1; border:2px solid; }
+div { min-width:0; min-height:10px; }
+t { display:inline-block; width:20px; }
+
+ </style>
+</head>
+<body>
+
+
+<div class="g1 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g2 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+<div class="g2f grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g3 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g4 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+<div class="g4f grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g5 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g6 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+<div class="g6f grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g7 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g8 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="g9 grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="gA grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="gB grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="gC grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+<div class="gD grid">
+ <div class="t"><t>1 </t><t>2 </t><t>3 </t><t>4 </t><t>5</t></div>
+ <div class="d1"></div>
+</div>
+
+</body>
+</html>