Bug 1731994: part 4) Declare more methods around `ContentPermissionRequestBase` ...
[gecko.git] / layout / reftests / flexbox / pagination / flexbox-multi-column-vertical-rl-2-ref.html
blob543e00eee5921b0ecc9e7006ed10a0b50eaaeda7
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 multi-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: 90px;
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: 60px;
28 position: relative;
30 .border-padding {
31 border-block-width: 10px;
32 padding-block: 5px;
35 /* Note: flex items are in visual order as "CMYK": cyan, magenta, yellow, black. */
36 header, nav, article, footer {
37 inline-size: 20px;
39 header {
40 background: cyan;
41 block-size: 50px;
42 position: absolute;
43 inset-block-start: 0;
44 inset-inline-start: 0;
46 nav {
47 background: magenta;
48 block-size: 25px;
49 position: absolute;
50 inset-block-start: 0;
51 inset-inline-start: 30px;
53 article {
54 background: yellow;
55 block-size: 25px;
56 position: absolute;
57 inset-block-start: 25px;
58 inset-inline-start: 35px;
60 footer {
61 background: black;
62 block-size: 50px;
63 position: absolute;
64 inset-block-start: 0;
65 inset-inline-start: 70px;
67 .border-padding > header, .border-padding > nav, .border-padding > footer {
68 inset-block-start: 5px;
70 .border-padding > article {
71 inset-block-start: 30px;
73 </style>
75 <body>
76 <!-- Basic one without any margin/border/padding. -->
77 <div class="multicol">
78 <div class="flexContainer">
79 <header></header><nav></nav><article></article><footer></footer>
80 </div>
81 </div>
83 <!-- Test a container with margin-block-start. -->
84 <div class="multicol">
85 <div class="flexContainer" style="margin-block-start: 25px">
86 <header></header><nav></nav><article></article><footer></footer>
87 </div>
88 </div>
90 <!-- Test a container not at the top of the column/page. -->
91 <div class="multicol">
92 <div style="block-size: 25px"></div>
93 <div class="flexContainer">
94 <header></header><nav></nav><article></article><footer></footer>
95 </div>
96 </div>
98 <!-- Test a container with border and padding. -->
99 <div class="multicol">
100 <div class="flexContainer border-padding">
101 <header></header><nav></nav><article style="inset-block-start: 30px"></article><footer></footer>
102 </div>
103 </div>
105 <!-- Test a container with border, padding, and row-gap. -->
106 <div class="multicol">
107 <div class="flexContainer border-padding">
108 <header></header><nav></nav><article style="inset-block-start: 35px"></article><footer></footer>
109 </div>
110 </div>
111 </body>
112 </html>