2 <!-- Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/ -->
6 <title>CSS Flexbox Test: Fragmentation of fixed block-size multi-line column-reverse flex container with flexible length flex items
</title>
7 <link rel=
"author" title=
"Ting-Yu Lin" href=
"mailto:tlin@mozilla.com">
8 <link rel=
"author" title=
"Mozilla" href=
"http://www.mozilla.org/">
9 <link rel=
"help" href=
"https://drafts.csswg.org/css-flexbox-1/#pagination">
10 <link rel=
"match" href=
"flexbox-multi-column-1-ref.html">
11 <meta name=
"assert" content=
"This test verifies fragmentation of flexible length flex items in a fixed block-size multi-line column-reverse flex container, with various combinations of margin/border/padding, alignments, and row-gap.">
20 border:
5px solid orange;
21 margin-block-end:
5px; /* Just to separate each sub-testcase visually. */
26 flex-direction: column-reverse;
28 /* border-width is
0 by default; some sub-testcases will increase it. */
29 border:
0 solid lightgray;
33 border-block-width:
10px;
37 /* Note: flex items are in visual order as
"CMYK": cyan, magenta, yellow, black. */
43 article, nav, header {
50 align-self: flex-start;
67 <!-- Basic one without any margin/border/padding. -->
68 <div class=
"multicol">
69 <div class=
"flexContainer">
70 <header></header><nav></nav><article></article><footer></footer>
74 <!-- Test a container with margin-block-start. -->
75 <div class=
"multicol">
76 <div class=
"flexContainer" style=
"margin-block-start: 25px">
77 <header></header><nav></nav><article></article><footer></footer>
81 <!-- Test a container not at the top of the column/page. -->
82 <div class=
"multicol">
83 <div style=
"block-size: 25px"></div>
84 <div class=
"flexContainer">
85 <header></header><nav></nav><article></article><footer></footer>
89 <!-- Test a container with border and padding. -->
90 <div class=
"multicol">
91 <div class=
"flexContainer border-padding">
92 <header></header><nav></nav><article></article><footer></footer>
96 <!-- Test a container with border, padding, and row-gap. -->
97 <div class=
"multicol">
98 <div class=
"flexContainer border-padding" style=
"block-size: 165px; row-gap: 5px">
99 <header></header><nav></nav><article></article><footer></footer>