3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Reference: Fragmentation with specified grid height, growing min-content row that makes the grid container break
</title>
9 <link rel=
"author" title=
"Mats Palmgren" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1144096">
10 <style type=
"text/css">
12 color:black
; background-color:white
; font-size:16px; padding:0; margin:0;
14 body
{ overflow:hidden
; }
21 -ms-column-fill: auto
;
22 -webkit-column-fill: auto
;
24 border: 2px solid salmon
;
31 grid-template-columns: 30px 30px 30px;
36 span
{ background:lime
; border:1px solid black
; }
37 x
{ display:block
; height:20px; }
38 .t { border-bottom-width:0; }
39 .b { border-top-width:0; }
40 .m { border-bottom-width:0; border-top-width:0; }
42 i
{ display:block
; height:10px; margin-top:7px; background:blue
; }
47 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
48 <div style=
"padding-top:1px; background:grey">
49 <div class=
"grid" style=
"grid-template-rows: 94px 10px; grid-gap:0;">
51 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
52 <span style=
"grid-row:2;"><x></x></span>
56 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
57 <div style=
"padding-top:1px; background:grey">
58 <div class=
"grid t" style=
"grid-template-rows: 94px; grid-gap:0; height:90px; max-height:90px; ">
60 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
62 <div style=
"height:4px"></div>
63 <div class=
"grid b" style=
"height:0px;grid-template-rows: 10px;"><span></span></div>
66 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
67 <div style=
"padding-top:1px; background:grey">
68 <div class=
"grid" style=
"grid-template-rows: 94px 10px; grid-gap:0; max-height:89px;">
70 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
71 <span style=
"grid-row:2;"><x></x></span>
75 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
76 <div style=
"padding-top:1px; background:grey">
77 <div class=
"grid t" style=
"grid-template-rows: 94px; grid-gap:0; height:94px; max-height:94px; ">
79 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
81 <div class=
"grid b" style=
"height:0px;grid-template-rows: 10px;"><span></span></div>
84 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
85 <div style=
"padding-top:1px; background:grey">
86 <div class=
"grid" style=
"grid-template-rows: 94px 10px; grid-gap:0; max-height:95px;">
88 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
89 <span style=
"grid-row:2;"><x></x></span>
93 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
94 <div style=
"padding-top:1px; background:grey">
95 <div class=
"grid" style=
"grid-template-rows: 94px 10px; grid-gap:0;">
97 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
98 <span style=
"grid-row:2;"><x></x></span>
102 <div class=
"columns" style=
"height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
103 <div style=
"padding-top:1px; background:grey">
104 <div class=
"grid t" style=
"grid-template-rows: 94px; grid-gap:0; height:90px; max-height:90px; ">
106 <span class=
"avoid-break" style=
"height:60px"><i></i><x></x><i></i><x></x><i></i><x></x></span>
108 <div style=
"height:4px"></div>
109 <div class=
"grid b" style=
"height:0px;grid-template-rows: 10px;"><span></span></div>