Bug 1731994: part 4) Declare more methods around `ContentPermissionRequestBase` ...
[gecko.git] / layout / reftests / flexbox / pagination / flexbox-single-column-vertical-rl-2-ref.html
blob4131706f62a218d18685209b8a38647e83b90bd4
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 Reference: Fragmentation of single-line column flex container</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/">
10 <style>
11 html {
12 writing-mode: vertical-rl;
14 .multicol {
15 block-size: 50px;
16 inline-size: 190px;
17 column-width: 40px;
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 background: gray;
25 /* border-width is 0 by default; some sub-testcases will increase it. */
26 border: 0 solid lightgray;
27 block-size: 85px;
29 .border-padding {
30 border-block-width: 10px;
31 padding-block: 5px;
33 .gap {
34 block-size: 5px;
37 /* Note: flex items are in visual order as "CMYK": cyan, magenta, yellow, black. */
38 header {
39 background: cyan;
40 block-size: 50px;
42 nav, article, footer {
43 inline-size: 30px;
45 nav {
46 background: magenta;
47 block-size: 25px;
49 article {
50 background: yellow;
51 block-size: 25px;
52 position: relative;
53 inset-inline-start: 5px;
55 footer {
56 background: black;
57 block-size: 50px;
58 position: relative;
59 inset-inline-start: 10px;
61 </style>
63 <body>
64 <!-- Basic one without any margin/border/padding. -->
65 <div class="multicol">
66 <div class="flexContainer">
67 <header></header><nav></nav><article></article><footer></footer>
68 </div>
69 </div>
71 <!-- Test a container with margin-block-start. -->
72 <div class="multicol">
73 <div class="flexContainer" style="margin-block-start: 25px">
74 <header></header><nav></nav><article></article><footer></footer>
75 </div>
76 </div>
78 <!-- Test a container not at the top of the column/page. -->
79 <div class="multicol">
80 <div style="block-size: 25px"></div>
81 <div class="flexContainer">
82 <header></header><nav></nav><article></article><footer></footer>
83 </div>
84 </div>
86 <!-- Test a container with border and padding. -->
87 <div class="multicol">
88 <div class="flexContainer border-padding">
89 <header></header><nav></nav><article></article><footer></footer>
90 </div>
91 </div>
93 <!-- Test a container with border, padding, and row-gap. -->
94 <div class="multicol">
95 <div class="flexContainer border-padding">
96 <header></header><div class="gap"></div><nav></nav><div class="gap"></div><article></article><div class="gap"></div><footer></footer>
97 </div>
98 </div>
99 </body>
100 </html>