3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
6 <html lang=
"en-US" class=
"reftest-paged"><head>
8 <title>Reference: Fragmentation in print context of height:auto grid, not 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; }
13 color:black
; background-color:white
; font-size:16px; padding:0; margin:0;
18 grid-template-columns: 0.6in 0.6in 0.6in;
23 span
{ display:block
; background:lime
; border:0.05in solid black
; }
24 x
{ display:block
; height:0.2in; }
25 .t { border-bottom-width:0; }
26 .b { border-top-width:0; }
27 br
{ page-break-after:always
; break-after:always
; display:block
; height:1px; }
33 <div style=
"padding-top:0.5in; background:grey">
36 <span class=
"t"><x></x></span>
37 <span style=
"background:cyan" class=
"t"><x></x></span>
42 <span class=
"b"><x></x></span>
43 <span class=
"b" style=
"grid-row:1; grid-column:3; height:0.54in; background:cyan"><x></x></span>
44 <span style=
"grid-row:1; grid-column:3; align-self:end; background:pink"><x></x></span>