Bug 1874684 - Part 17: Fix uninitialised variable warnings from clang-tidy. r=allstarschh
[gecko.git] / layout / reftests / css-grid / grid-fragmentation-011-ref.html
blob15167d3b99652cf34da5bd954b114eb1b26b1fa4
1 <!DOCTYPE HTML>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html lang="en-US" class="reftest-paged"><head>
7 <meta charset="utf-8">
8 <title>Reference: Fragmentation in print context of height:auto grid with first grid row at top-of-page</title>
9 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1144096">
10 <style type="text/css">
11 @page { size:5in 3in; margin:0.5in; }
12 html,body {
13 color:black; background-color:white; font-size:16px; padding:0; margin:0;
16 .grid {
17 display: grid;
18 grid-template-columns: 0.6in 0.6in 0.6in;
19 grid-auto-rows: 1in;
20 grid-gap: 0.1in;
21 border: 0.1in solid;
22 border-top-width: 0;
24 span { display:block; background:lime; border:0.05in solid black; }
25 x { display:block; height:0.2in; }
26 .t { border-bottom-width:0; }
27 .b { border-top-width:0; }
28 br { page-break-after:always; break-after:always; display:block; height:1px; }
30 </style>
31 </head>
32 <body>
34 <div style="background:grey">
35 <div class="grid t">
36 <span><x></x></span>
37 <span class="t"><x></x></span>
38 <span style="background:cyan" class="t"><x></x></span>
39 </div>
40 <br>
41 <div class="grid b">
42 <span><x></x></span>
43 <span class="b"><x></x></span>
44 <span class="b" style="grid-row:1; grid-column:3; height:0.54in; background:cyan"><x></x></span>
45 <span style="grid-row:1; grid-column:3; align-self:end; background:pink"><x></x></span>
46 </div></div>
48 </body>
49 </html>