Bug 1731994: part 4) Declare more methods around `ContentPermissionRequestBase` ...
[gecko.git] / layout / reftests / flexbox / pagination / flexbox-single-row-3a.html
blob0fced5023a49a938bf79f910c4925b989636db29
1 <!DOCTYPE html>
2 <!-- Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/ -->
4 <html>
5 <meta charset="utf-8">
6 <title>CSS Flexbox Test: Fragmentation of block-size:auto and box-decoration-break:clone single-line row 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-row-3-ref.html">
11 <meta name="assert" content="This test verifies fragmentation of fixed block-size flex items in a block-size:auto single-line row flex container, with various combinations of margin/border/padding, alignments, column-gap, and box-decoration-break:clone.">
13 <style>
14 .multicol {
15 block-size: 80px;
16 inline-size: 320px;
17 column-count: 3;
18 column-fill: auto;
19 column-gap: 10px;
20 border: 5px solid orange;
21 margin-block-end: 5px; /* Just to separate each sub-testcase visually. */
23 .flexContainer {
24 display: flex;
25 flex-wrap: nowrap;
26 flex-direction: row;
27 background: gray;
28 border: 0 solid white;
29 border-block-width: 15px;
30 box-decoration-break: clone;
33 /* Note: flex items are in visual order as "CMYK": cyan, magenta, yellow, black. */
34 header, nav, article, footer {
35 flex-grow: 1;
37 header {
38 background: cyan;
39 block-size: 100px;
41 nav {
42 background: magenta;
43 block-size: 25px;
44 align-self: flex-start;
46 article {
47 background: yellow;
48 block-size: 50px;
49 align-self: center;
51 footer {
52 background: black;
53 block-size: 75px;
54 align-self: flex-end;
56 </style>
58 <body>
59 <!-- Test a container with margin-block-start. -->
60 <div class="multicol">
61 <div class="flexContainer" style="margin-block-start: 25px">
62 <header></header><nav></nav><article></article><footer></footer>
63 </div>
64 </div>
66 <!-- Test a container not at the top of the column/page. -->
67 <div class="multicol">
68 <div style="block-size: 25px"></div>
69 <div class="flexContainer">
70 <header></header><nav></nav><article></article><footer></footer>
71 </div>
72 </div>
74 <!-- Test a container with column-gap. -->
75 <div class="multicol">
76 <div class="flexContainer" style="column-gap: 4px">
77 <header></header><nav></nav><article></article><footer></footer>
78 </div>
79 </div>
80 </body>
81 </html>