2 <!-- Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/ -->
6 <title>CSS Flexbox Test: Fragmentation of block-size:auto single-line column-reverse flex container with fixed block-size 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-single-column-vertical-lr-1-ref.html">
11 <meta name=
"assert" content=
"This test verifies fragmentation of fixed block-size flex items in a block-size:auto single-line column-reverse flex container, with various combinations of margin/border/padding, alignments, and row-gap.">
15 writing-mode: vertical-lr;
23 border:
5px solid orange;
24 margin-block-end:
5px; /* Just to separate each sub-testcase visually. */
29 flex-direction: column-reverse;
31 /* border-width is
0 by default; some sub-testcases will increase it. */
32 border:
0 solid lightgray;
35 border-block-width:
10px;
39 /* Note: flex items are in visual order as
"CMYK": cyan, magenta, yellow, black. */
44 article, nav, header {
50 align-self: flex-start;
65 <!-- Basic one without any margin/border/padding. -->
66 <div class=
"multicol">
67 <div class=
"flexContainer">
68 <header></header><nav></nav><article></article><footer></footer>
72 <!-- Test a container with margin-block-start. -->
73 <div class=
"multicol">
74 <div class=
"flexContainer" style=
"margin-block-start: 25px">
75 <header></header><nav></nav><article></article><footer></footer>
79 <!-- Test a container not at the top of the column/page. -->
80 <div class=
"multicol">
81 <div style=
"block-size: 25px"></div>
82 <div class=
"flexContainer">
83 <header></header><nav></nav><article></article><footer></footer>
87 <!-- Test a container with border and padding. -->
88 <div class=
"multicol">
89 <div class=
"flexContainer border-padding">
90 <header></header><nav></nav><article></article><footer></footer>
94 <!-- Test a container with border, padding, and row-gap. -->
95 <div class=
"multicol">
96 <div class=
"flexContainer border-padding" style=
"row-gap: 5px">
97 <header></header><nav></nav><article></article><footer></footer>