3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>CSS Grid Test: Fragmentation of height:auto grid, top-of-page
</title>
9 <link rel=
"author" title=
"Mats Palmgren" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1144096">
10 <link rel=
"help" href=
"https://drafts.csswg.org/css-grid/#pagination">
11 <link rel=
"match" href=
"grid-fragmentation-008-ref.html">
12 <style type=
"text/css">
14 color:black
; background-color:white
; font-size:16px; padding:0; margin:0;
16 body
{ overflow:hidden
; }
23 -ms-column-fill: auto
;
24 -webkit-column-fill: auto
;
26 border: 2px solid salmon
;
32 grid-template-columns: 30px 30px 30px;
37 align-content: space-evenly
;
39 span
{ padding-top:20px; background:lime
; border:1px solid black
; }
40 .avoid-break { page-break-inside:avoid
; break-inside:avoid
; }
42 i
{ display:block
; height:10px; margin-top:7px; background:blue
; }
47 <div class=
"columns" style=
"height: 94px/*trigger OVERFLOW_INCOMPLETE for the item*/">
48 <div style=
"background:grey">
49 <div class=
"grid" style=
"grid-template-rows: 1fr 50px; grid-gap:0;">
50 <span style=
"height:50px"><i style=
"height:60px"></i></span>
51 <span class=
"avoid-break" style=
"height:60px"><i></i><i></i><i></i></span>
52 <span style=
"grid-row:2"></span>
56 <div class=
"columns" style=
"height: 94px/*trigger OVERFLOW_INCOMPLETE for the item*/">
57 <div style=
"background:grey">
58 <div class=
"grid" style=
"grid-template-rows: 1fr 50px; grid-gap:0;">
59 <span style=
"height:50px"><i style=
"height:60px"></i></span>
60 <span class=
"avoid-break" style=
"height:60px"><i></i><i></i><i></i></span>
61 <span style=
"grid-row:1/span 2"></span>
65 <div class=
"columns" style=
"height: 94px/*trigger OVERFLOW_INCOMPLETE for the item*/">
66 <div style=
"background:grey">
67 <div class=
"grid" style=
"grid-template-rows: 1fr 50px; grid-gap:0;">
68 <span style=
"height:50px"><i style=
"height:60px"></i></span>
69 <span class=
"avoid-break" style=
"height:60px"><i></i><i></i><i></i></span>
70 <span style=
"grid-row:1/span 4"></span>
74 <div class=
"columns" style=
"height: 94px/*trigger INCOMPLETE for the item*/">
75 <div style=
"background:grey">
76 <div class=
"grid" style=
"grid-template-rows: 5px 1fr 50px;">
77 <span style=
"grid-row:2; height:50px"><i style=
"height:60px"></i></span>
78 <span class=
"avoid-break" style=
"grid-row:2; height:60px"><i></i><i></i><i></i></span>
79 <span style=
"grid-row:1/span 5"></span>
83 <div class=
"columns" style=
"height: 94px/*trigger INCOMPLETE for the item*/">
84 <div style=
"background:grey">
85 <div class=
"grid" style=
"grid-template-rows: 5px 1fr 50px;">
86 <span style=
"grid-row:1/span 5"></span>
87 <span style=
"grid-row:2; height:50px"><i style=
"height:60px"></i></span>
88 <span class=
"avoid-break" style=
"grid-row:2; height:60px"><i></i><i></i><i></i></span>