|
Lines 1-215
a/LayoutTests/fast/css-grid-layout/grid-content-alignment-and-self-alignment.html_sec1
|
| 1 |
<!DOCTYPE html> |
1 |
<!DOCTYPE html> |
| 2 |
<html> |
|
|
| 3 |
<head> |
| 4 |
<link href="resources/grid.css" rel="stylesheet"> |
2 |
<link href="resources/grid.css" rel="stylesheet"> |
| 5 |
<link href="resources/grid-alignment.css" rel="stylesheet"> |
3 |
<link href="resources/grid-alignment.css" rel="stylesheet"> |
| 6 |
<script src="../../resources/check-layout.js"></script> |
|
|
| 7 |
<style> |
4 |
<style> |
| 8 |
body { |
|
|
| 9 |
margin: 0px; |
| 10 |
} |
| 11 |
|
5 |
|
| 12 |
.grid { |
6 |
.grid { |
| 13 |
-webkit-grid-auto-columns: 20px; |
7 |
-webkit-grid-template-columns: 200px 100px; |
| 14 |
-webkit-grid-auto-rows: 40px; |
8 |
-webkit-grid-template-rows: 100px 50px; |
| 15 |
-webkit-grid-template-areas: "a a b" |
9 |
width: 500px; |
| 16 |
"c d b"; |
10 |
height: 350px; |
| 17 |
position: relative; |
11 |
position: relative; |
| 18 |
width: 300px; |
12 |
font: 10px/1 Ahem; |
| 19 |
height: 200px; |
|
|
| 20 |
} |
| 21 |
.a { |
| 22 |
-webkit-grid-area: a; |
| 23 |
background-color: blue; |
| 24 |
} |
| 25 |
.b { |
| 26 |
-webkit-grid-area: b; |
| 27 |
background-color: lime; |
| 28 |
} |
| 29 |
.c { |
| 30 |
-webkit-grid-area: c; |
| 31 |
background-color: purple; |
| 32 |
} |
13 |
} |
| 33 |
.d { |
|
|
| 34 |
-webkit-grid-area: d; |
| 35 |
background-color: orange; |
| 36 |
} |
| 37 |
.stretchedGrid { |
| 38 |
-webkit-grid-auto-columns: minmax(20px, auto); |
| 39 |
-webkit-grid-auto-rows: minmax(40px, auto); |
| 40 |
} |
| 41 |
|
| 42 |
|
14 |
|
| 43 |
.cell { |
15 |
.gridGaps { |
| 44 |
width: 20px; |
16 |
-webkit-grid-gap: 10px 20px; |
| 45 |
height: 40px; |
|
|
| 46 |
} |
17 |
} |
|
|
18 |
|
| 47 |
</style> |
19 |
</style> |
| 48 |
</head> |
20 |
<script src="../../resources/check-layout.js"></script> |
| 49 |
<body onload="checkLayout('.grid')"> |
21 |
<body onload="checkLayout('.grid')"> |
| 50 |
|
22 |
|
| 51 |
<p>This test checks that Content Distribution alignment works fine in combination with Self Alignmet and items span more than one track.</p> |
23 |
<p>This test checks that Content Distribution alignment works fine in combination with Self Alignmet and items in just one cell.</p> |
| 52 |
|
24 |
|
| 53 |
<div style="position: relative"> |
25 |
<p>direction: LTR | distribution: 'space-between' | self-alignment: center</p> |
| 54 |
<p>direction: LTR | distribution: 'space-between' | self-alignment: center</p> |
26 |
<div class="grid contentSpaceBetween itemsCenter"> |
| 55 |
<div class="grid contentSpaceBetween" data-expected-width="300" data-expected-height="200"> |
27 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 56 |
<div class="a cell justifySelfCenter" data-offset-x="70" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> |
28 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 57 |
<div class="b cell alignSelfCenter" data-offset-x="280" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
29 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 58 |
<div class="c" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
30 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 59 |
<div class="d" data-offset-x="140" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
31 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 60 |
</div> |
32 |
|
| 61 |
</div> |
33 |
<div class="firstRowFirstColumn" |
| 62 |
|
34 |
data-offset-x="95" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 63 |
<div style="position: relative"> |
35 |
<div class="firstRowSecondColumn" |
| 64 |
<p>direction: LTR | distribution: 'space-between' | self-alignment: end</p> |
36 |
data-offset-x="445" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 65 |
<div class="grid contentSpaceBetween" data-expected-width="300" data-expected-height="200"> |
37 |
<div class="secondRowFirstColumn" |
| 66 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> |
38 |
data-offset-x="95" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 67 |
<div class="b cell alignSelfEnd" data-offset-x="280" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
39 |
<div class="secondRowSecondColumn" |
| 68 |
<div class="c" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
40 |
data-offset-x="445" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 69 |
<div class="d" data-offset-x="140" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
41 |
</div> |
| 70 |
</div> |
42 |
|
| 71 |
</div> |
43 |
<p>direction: LTR | distribution: 'space-between' | self-alignment: end</p> |
| 72 |
|
44 |
<div class="grid contentSpaceBetween itemsEnd"> |
| 73 |
<div style="position: relative"> |
45 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 74 |
<p>direction: LTR | distribution: 'space-around' | self-alignment: center</p> |
46 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 75 |
<div class="grid contentSpaceAround" data-expected-width="300" data-expected-height="200"> |
47 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 76 |
<div class="a cell justifySelfCenter" data-offset-x="90" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
48 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 77 |
<div class="b cell alignSelfCenter" data-offset-x="240" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
49 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 78 |
<div class="c" data-offset-x="40" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
50 |
|
| 79 |
<div class="d" data-offset-x="140" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
51 |
<div class="firstRowFirstColumn" |
| 80 |
</div> |
52 |
data-offset-x="190" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 81 |
</div> |
53 |
<div class="firstRowSecondColumn" |
| 82 |
|
54 |
data-offset-x="490" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 83 |
<div style="position: relative"> |
55 |
<div class="secondRowFirstColumn" |
| 84 |
<p>direction: LTR | distribution: 'space-around' | self-alignment: end</p> |
56 |
data-offset-x="190" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 85 |
<div class="grid contentSpaceAround" data-expected-width="300" data-expected-height="200"> |
57 |
<div class="secondRowSecondColumn" |
| 86 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
58 |
data-offset-x="490" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 87 |
<div class="b cell alignSelfEnd" data-offset-x="240" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
59 |
</div> |
| 88 |
<div class="c" data-offset-x="40" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
60 |
|
| 89 |
<div class="d" data-offset-x="140" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
61 |
<p>direction: LTR | distribution: 'space-around' | self-alignment: center</p> |
| 90 |
</div> |
62 |
<div class="grid contentSpaceAround itemsCenter"> |
| 91 |
</div> |
63 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 92 |
|
64 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 93 |
<div style="position: relative"> |
65 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 94 |
<p>direction: LTR | distribution: 'space-evenly' | self-alignment: center</p> |
66 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 95 |
<div class="grid contentSpaceEvenly" data-expected-width="300" data-expected-height="200"> |
67 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 96 |
<div class="a cell justifySelfCenter" data-offset-x="100" data-offset-y="40" data-expected-width="20" data-expected-height="40"></div> |
68 |
|
| 97 |
<div class="b cell alignSelfCenter" data-offset-x="220" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
69 |
<div class="firstRowFirstColumn" |
| 98 |
<div class="c" data-offset-x="60" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
70 |
data-offset-x="145" data-offset-y="95" data-expected-width="10" data-expected-height="10">X</div> |
| 99 |
<div class="d" data-offset-x="140" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
71 |
<div class="firstRowSecondColumn" |
| 100 |
</div> |
72 |
data-offset-x="395" data-offset-y="95" data-expected-width="10" data-expected-height="10">X</div> |
| 101 |
</div> |
73 |
<div class="secondRowFirstColumn" |
| 102 |
|
74 |
data-offset-x="145" data-offset-y="270" data-expected-width="10" data-expected-height="10">X</div> |
| 103 |
<div style="position: relative"> |
75 |
<div class="secondRowSecondColumn" |
| 104 |
<p>direction: LTR | distribution: 'space-evenly' | self-alignment: end</p> |
76 |
data-offset-x="395" data-offset-y="270" data-expected-width="10" data-expected-height="10">X</div> |
| 105 |
<div class="grid contentSpaceEvenly" data-expected-width="300" data-expected-height="200"> |
77 |
</div> |
| 106 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="40" data-expected-width="20" data-expected-height="40"></div> |
78 |
|
| 107 |
<div class="b cell alignSelfEnd" data-offset-x="220" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
79 |
<p>direction: LTR | distribution: 'space-around' | self-alignment: end</p> |
| 108 |
<div class="c" data-offset-x="60" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
80 |
<div class="grid contentSpaceAround itemsEnd"> |
| 109 |
<div class="d" data-offset-x="140" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
81 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 110 |
</div> |
82 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 111 |
</div> |
83 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 112 |
|
84 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 113 |
<div style="position: relative"> |
85 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 114 |
<p>direction: LTR | distribution: 'stretch' | self-alignment: center</p> |
86 |
|
| 115 |
<div class="grid stretchedGrid contentStretch" data-expected-width="300" data-expected-height="200"> |
87 |
<div class="firstRowFirstColumn" |
| 116 |
<div class="a cell justifySelfCenter alignSelfCenter" data-offset-x="90" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
88 |
data-offset-x="240" data-offset-y="140" data-expected-width="10" data-expected-height="10">X</div> |
| 117 |
<div class="b cell justifySelfCenter alignSelfCenter" data-offset-x="240" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
89 |
<div class="firstRowSecondColumn" |
| 118 |
<div class="c" data-offset-x="0" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
90 |
data-offset-x="440" data-offset-y="140" data-expected-width="10" data-expected-height="10">X</div> |
| 119 |
<div class="d" data-offset-x="100" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
91 |
<div class="secondRowFirstColumn" |
| 120 |
</div> |
92 |
data-offset-x="240" data-offset-y="290" data-expected-width="10" data-expected-height="10">X</div> |
| 121 |
</div> |
93 |
<div class="secondRowSecondColumn" |
| 122 |
|
94 |
data-offset-x="440" data-offset-y="290" data-expected-width="10" data-expected-height="10">X</div> |
| 123 |
<div style="position: relative"> |
95 |
</div> |
| 124 |
<p>direction: LTR | distribution: 'stretch' | self-alignment: end</p> |
96 |
|
| 125 |
<div class="grid stretchedGrid contentStretch" data-expected-width="300" data-expected-height="200"> |
97 |
<p>direction: LTR | distribution: 'space-evenly' | self-alignment: center</p> |
| 126 |
<div class="a cell justifySelfEnd alignSelfEnd" data-offset-x="180" data-offset-y="60" data-expected-width="20" data-expected-height="40"></div> |
98 |
<div class="grid contentSpaceEvenly itemsCenter"> |
| 127 |
<div class="b cell justifySelfEnd alignSelfEnd" data-offset-x="280" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
99 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 128 |
<div class="c" data-offset-x="0" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
100 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 129 |
<div class="d" data-offset-x="100" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
101 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 130 |
</div> |
102 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
|
|
103 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 104 |
|
| 105 |
<div class="firstRowFirstColumn" |
| 106 |
data-offset-x="162" data-offset-y="112" data-expected-width="10" data-expected-height="10">X</div> |
| 107 |
<div class="firstRowSecondColumn" |
| 108 |
data-offset-x="378" data-offset-y="112" data-expected-width="10" data-expected-height="10">X</div> |
| 109 |
<div class="secondRowFirstColumn" |
| 110 |
data-offset-x="162" data-offset-y="253" data-expected-width="10" data-expected-height="10">X</div> |
| 111 |
<div class="secondRowSecondColumn" |
| 112 |
data-offset-x="378" data-offset-y="253" data-expected-width="10" data-expected-height="10">X</div> |
| 113 |
</div> |
| 114 |
|
| 115 |
<p>direction: LTR | distribution: 'space-evenly' | self-alignment: end</p> |
| 116 |
<div class="grid contentSpaceEvenly itemsEnd"> |
| 117 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 118 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 119 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 120 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 121 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 122 |
|
| 123 |
<div class="firstRowFirstColumn" |
| 124 |
data-offset-x="257" data-offset-y="157" data-expected-width="10" data-expected-height="10">X</div> |
| 125 |
<div class="firstRowSecondColumn" |
| 126 |
data-offset-x="423" data-offset-y="157" data-expected-width="10" data-expected-height="10">X</div> |
| 127 |
<div class="secondRowFirstColumn" |
| 128 |
data-offset-x="257" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 129 |
<div class="secondRowSecondColumn" |
| 130 |
data-offset-x="423" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 131 |
</div> |
| 132 |
|
| 133 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-between' | self-alignment: center</p> |
| 134 |
<div class="grid gridGaps contentSpaceBetween itemsCenter"> |
| 135 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 136 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 137 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 138 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 139 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 140 |
|
| 141 |
<div class="firstRowFirstColumn" |
| 142 |
data-offset-x="95" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 143 |
<div class="firstRowSecondColumn" |
| 144 |
data-offset-x="445" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 145 |
<div class="secondRowFirstColumn" |
| 146 |
data-offset-x="95" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 147 |
<div class="secondRowSecondColumn" |
| 148 |
data-offset-x="445" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 149 |
</div> |
| 150 |
|
| 151 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-between' | self-alignment: end</p> |
| 152 |
<div class="grid gridGaps contentSpaceBetween itemsEnd"> |
| 153 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 154 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 155 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 156 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 157 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 158 |
|
| 159 |
<div class="firstRowFirstColumn" |
| 160 |
data-offset-x="190" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 161 |
<div class="firstRowSecondColumn" |
| 162 |
data-offset-x="490" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 163 |
<div class="secondRowFirstColumn" |
| 164 |
data-offset-x="190" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 165 |
<div class="secondRowSecondColumn" |
| 166 |
data-offset-x="490" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 167 |
</div> |
| 168 |
|
| 169 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-around' | self-alignment: center</p> |
| 170 |
<div class="grid gridGaps contentSpaceAround itemsCenter"> |
| 171 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 172 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 173 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 174 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 175 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 176 |
|
| 177 |
<div class="firstRowFirstColumn" |
| 178 |
data-offset-x="140" data-offset-y="93" data-expected-width="10" data-expected-height="10">X</div> |
| 179 |
<div class="firstRowSecondColumn" |
| 180 |
data-offset-x="400" data-offset-y="93" data-expected-width="10" data-expected-height="10">X</div> |
| 181 |
<div class="secondRowFirstColumn" |
| 182 |
data-offset-x="140" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 183 |
<div class="secondRowSecondColumn" |
| 184 |
data-offset-x="400" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 185 |
</div> |
| 186 |
|
| 187 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-around' | self-alignment: end</p> |
| 188 |
<div class="grid gridGaps contentSpaceAround itemsEnd"> |
| 189 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 190 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 191 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 192 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 193 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 194 |
|
| 195 |
<div class="firstRowFirstColumn" |
| 196 |
data-offset-x="235" data-offset-y="138" data-expected-width="10" data-expected-height="10">X</div> |
| 197 |
<div class="firstRowSecondColumn" |
| 198 |
data-offset-x="445" data-offset-y="138" data-expected-width="10" data-expected-height="10">X</div> |
| 199 |
<div class="secondRowFirstColumn" |
| 200 |
data-offset-x="235" data-offset-y="293" data-expected-width="10" data-expected-height="10">X</div> |
| 201 |
<div class="secondRowSecondColumn" |
| 202 |
data-offset-x="445" data-offset-y="293" data-expected-width="10" data-expected-height="10">X</div> |
| 203 |
</div> |
| 204 |
|
| 205 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-evenly' | self-alignment: center</p> |
| 206 |
<div class="grid gridGaps contentSpaceEvenly itemsCenter"> |
| 207 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 208 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 209 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 210 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 211 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 212 |
|
| 213 |
<div class="firstRowFirstColumn" |
| 214 |
data-offset-x="155" data-offset-y="108" data-expected-width="10" data-expected-height="10">X</div> |
| 215 |
<div class="firstRowSecondColumn" |
| 216 |
data-offset-x="385" data-offset-y="108" data-expected-width="10" data-expected-height="10">X</div> |
| 217 |
<div class="secondRowFirstColumn" |
| 218 |
data-offset-x="155" data-offset-y="257" data-expected-width="10" data-expected-height="10">X</div> |
| 219 |
<div class="secondRowSecondColumn" |
| 220 |
data-offset-x="385" data-offset-y="257" data-expected-width="10" data-expected-height="10">X</div> |
| 221 |
</div> |
| 222 |
|
| 223 |
<p>direction: LTR | grid-gap: 10px 20px | distribution: 'space-evenly' | self-alignment: end</p> |
| 224 |
<div class="grid gridGaps contentSpaceEvenly itemsEnd"> |
| 225 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 226 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 227 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 228 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 229 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 230 |
|
| 231 |
<div class="firstRowFirstColumn" |
| 232 |
data-offset-x="250" data-offset-y="153" data-expected-width="10" data-expected-height="10">X</div> |
| 233 |
<div class="firstRowSecondColumn" |
| 234 |
data-offset-x="430" data-offset-y="153" data-expected-width="10" data-expected-height="10">X</div> |
| 235 |
<div class="secondRowFirstColumn" |
| 236 |
data-offset-x="250" data-offset-y="277" data-expected-width="10" data-expected-height="10">X</div> |
| 237 |
<div class="secondRowSecondColumn" |
| 238 |
data-offset-x="430" data-offset-y="277" data-expected-width="10" data-expected-height="10">X</div> |
| 131 |
</div> |
239 |
</div> |
| 132 |
|
240 |
|
| 133 |
<!-- RTL direction. --> |
241 |
<!-- RTL direction. --> |
| 134 |
<div style="position: relative"> |
242 |
|
| 135 |
<p>direction: RTL | distribution: 'space-between' | self-alignment: center</p> |
243 |
<p>direction: RTL | distribution: 'space-between' | self-alignment: center</p> |
| 136 |
<div class="grid contentSpaceBetween directionRTL" data-expected-width="300" data-expected-height="200"> |
244 |
<div class="grid directionRTL contentSpaceBetween itemsCenter"> |
| 137 |
<div class="a cell justifySelfCenter" data-offset-x="210" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> |
245 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 138 |
<div class="b cell alignSelfCenter" data-offset-x="0" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
246 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 139 |
<div class="c" data-offset-x="280" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
247 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 140 |
<div class="d" data-offset-x="140" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
248 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 141 |
</div> |
249 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 142 |
</div> |
250 |
|
| 143 |
|
251 |
<div class="firstRowFirstColumn" |
| 144 |
<div style="position: relative"> |
252 |
data-offset-x="395" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 145 |
<p>direction: RTL | distribution: 'space-between' | self-alignment: end</p> |
253 |
<div class="firstRowSecondColumn" |
| 146 |
<div class="grid contentSpaceBetween directionRTL" data-expected-width="300" data-expected-height="200"> |
254 |
data-offset-x="45" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 147 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> |
255 |
<div class="secondRowFirstColumn" |
| 148 |
<div class="b cell alignSelfEnd" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
256 |
data-offset-x="395" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 149 |
<div class="c" data-offset-x="280" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
257 |
<div class="secondRowSecondColumn" |
| 150 |
<div class="d" data-offset-x="140" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
258 |
data-offset-x="45" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 151 |
</div> |
259 |
</div> |
| 152 |
</div> |
260 |
|
| 153 |
|
261 |
<p>direction: RTL | distribution: 'space-between' | self-alignment: end</p> |
| 154 |
<div style="position: relative"> |
262 |
<div class="grid directionRTL contentSpaceBetween itemsEnd"> |
| 155 |
<p>direction: RTL | distribution: 'space-around' | self-alignment: center</p> |
263 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 156 |
<div class="grid contentSpaceAround directionRTL" data-expected-width="300" data-expected-height="200"> |
264 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 157 |
<div class="a cell justifySelfCenter" data-offset-x="190" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
265 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 158 |
<div class="b cell alignSelfCenter" data-offset-x="40" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
266 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 159 |
<div class="c" data-offset-x="240" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
267 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 160 |
<div class="d" data-offset-x="140" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
268 |
|
| 161 |
</div> |
269 |
<div class="firstRowFirstColumn" |
| 162 |
</div> |
270 |
data-offset-x="300" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 163 |
|
271 |
<div class="firstRowSecondColumn" |
| 164 |
<div style="position: relative"> |
272 |
data-offset-x="0" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 165 |
<p>direction: RTL | distribution: 'space-around' | self-alignment: end</p> |
273 |
<div class="secondRowFirstColumn" |
| 166 |
<div class="grid contentSpaceAround directionRTL" data-expected-width="300" data-expected-height="200"> |
274 |
data-offset-x="300" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 167 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
275 |
<div class="secondRowSecondColumn" |
| 168 |
<div class="b cell alignSelfEnd" data-offset-x="40" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
276 |
data-offset-x="0" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 169 |
<div class="c" data-offset-x="240" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
277 |
</div> |
| 170 |
<div class="d" data-offset-x="140" data-offset-y="130" data-expected-width="20" data-expected-height="40"></div> |
278 |
|
| 171 |
</div> |
279 |
<p>direction: RTL | distribution: 'space-around' | self-alignment: center</p> |
| 172 |
</div> |
280 |
<div class="grid directionRTL contentSpaceAround itemsCenter"> |
| 173 |
|
281 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 174 |
<div style="position: relative"> |
282 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 175 |
<p>direction: RTL | distribution: 'space-evenly' | self-alignment: center</p> |
283 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 176 |
<div class="grid contentSpaceEvenly directionRTL" data-expected-width="300" data-expected-height="200"> |
284 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 177 |
<div class="a cell justifySelfCenter" data-offset-x="180" data-offset-y="40" data-expected-width="20" data-expected-height="40"></div> |
285 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 178 |
<div class="b cell alignSelfCenter" data-offset-x="60" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
286 |
|
| 179 |
<div class="c" data-offset-x="220" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
287 |
<div class="firstRowFirstColumn" |
| 180 |
<div class="d" data-offset-x="140" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
288 |
data-offset-x="345" data-offset-y="95" data-expected-width="10" data-expected-height="10">X</div> |
| 181 |
</div> |
289 |
<div class="firstRowSecondColumn" |
| 182 |
</div> |
290 |
data-offset-x="95" data-offset-y="95" data-expected-width="10" data-expected-height="10">X</div> |
| 183 |
|
291 |
<div class="secondRowFirstColumn" |
| 184 |
<div style="position: relative"> |
292 |
data-offset-x="345" data-offset-y="270" data-expected-width="10" data-expected-height="10">X</div> |
| 185 |
<p>direction: RTL | distribution: 'space-evenly' | self-alignment: end</p> |
293 |
<div class="secondRowSecondColumn" |
| 186 |
<div class="grid contentSpaceEvenly directionRTL" data-expected-width="300" data-expected-height="200"> |
294 |
data-offset-x="95" data-offset-y="270" data-expected-width="10" data-expected-height="10">X</div> |
| 187 |
<div class="a cell justifySelfEnd" data-offset-x="140" data-offset-y="40" data-expected-width="20" data-expected-height="40"></div> |
295 |
</div> |
| 188 |
<div class="b cell alignSelfEnd" data-offset-x="60" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
296 |
|
| 189 |
<div class="c" data-offset-x="220" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
297 |
<p>direction: RTL | distribution: 'space-around' | self-alignment: end</p> |
| 190 |
<div class="d" data-offset-x="140" data-offset-y="120" data-expected-width="20" data-expected-height="40"></div> |
298 |
<div class="grid directionRTL contentSpaceAround itemsEnd"> |
| 191 |
</div> |
299 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 192 |
</div> |
300 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 193 |
|
301 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 194 |
<div style="position: relative"> |
302 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 195 |
<p>direction: RTL | distribution: 'stretch' | self-alignment: center</p> |
303 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 196 |
<div class="grid stretchedGrid contentStretch directionRTL" data-expected-width="300" data-expected-height="200"> |
304 |
|
| 197 |
<div class="a cell justifySelfCenter alignSelfCenter" data-offset-x="190" data-offset-y="30" data-expected-width="20" data-expected-height="40"></div> |
305 |
<div class="firstRowFirstColumn" |
| 198 |
<div class="b cell justifySelfCenter alignSelfCenter" data-offset-x="40" data-offset-y="80" data-expected-width="20" data-expected-height="40"></div> |
306 |
data-offset-x="250" data-offset-y="140" data-expected-width="10" data-expected-height="10">X</div> |
| 199 |
<div class="c" data-offset-x="200" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
307 |
<div class="firstRowSecondColumn" |
| 200 |
<div class="d" data-offset-x="100" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
308 |
data-offset-x="50" data-offset-y="140" data-expected-width="10" data-expected-height="10">X</div> |
| 201 |
</div> |
309 |
<div class="secondRowFirstColumn" |
| 202 |
</div> |
310 |
data-offset-x="250" data-offset-y="290" data-expected-width="10" data-expected-height="10">X</div> |
| 203 |
|
311 |
<div class="secondRowSecondColumn" |
| 204 |
<div style="position: relative"> |
312 |
data-offset-x="50" data-offset-y="290" data-expected-width="10" data-expected-height="10">X</div> |
| 205 |
<p>direction: RTL | distribution: 'stretch' | self-alignment: end</p> |
313 |
</div> |
| 206 |
<div class="grid stretchedGrid contentStretch directionRTL" data-expected-width="300" data-expected-height="200"> |
314 |
|
| 207 |
<div class="a cell justifySelfEnd alignSelfEnd" data-offset-x="100" data-offset-y="60" data-expected-width="20" data-expected-height="40"></div> |
315 |
<p>direction: RTL | distribution: 'space-evenly' | self-alignment: center</p> |
| 208 |
<div class="b cell justifySelfEnd alignSelfEnd" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> |
316 |
<div class="grid directionRTL contentSpaceEvenly itemsCenter"> |
| 209 |
<div class="c" data-offset-x="200" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
317 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 210 |
<div class="d" data-offset-x="100" data-offset-y="100" data-expected-width="100" data-expected-height="100"></div> |
318 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 211 |
</div> |
319 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
|
|
320 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 321 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 322 |
|
| 323 |
<div class="firstRowFirstColumn" |
| 324 |
data-offset-x="328" data-offset-y="112" data-expected-width="10" data-expected-height="10">X</div> |
| 325 |
<div class="firstRowSecondColumn" |
| 326 |
data-offset-x="112" data-offset-y="112" data-expected-width="10" data-expected-height="10">X</div> |
| 327 |
<div class="secondRowFirstColumn" |
| 328 |
data-offset-x="328" data-offset-y="253" data-expected-width="10" data-expected-height="10">X</div> |
| 329 |
<div class="secondRowSecondColumn" |
| 330 |
data-offset-x="112" data-offset-y="253" data-expected-width="10" data-expected-height="10">X</div> |
| 331 |
</div> |
| 332 |
|
| 333 |
<p>direction: RTL | distribution: 'space-evenly' | self-alignment: end</p> |
| 334 |
<div class="grid directionRTL contentSpaceEvenly itemsEnd"> |
| 335 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 336 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 337 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 338 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 339 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 340 |
|
| 341 |
<div class="firstRowFirstColumn" |
| 342 |
data-offset-x="233" data-offset-y="157" data-expected-width="10" data-expected-height="10">X</div> |
| 343 |
<div class="firstRowSecondColumn" |
| 344 |
data-offset-x="67" data-offset-y="157" data-expected-width="10" data-expected-height="10">X</div> |
| 345 |
<div class="secondRowFirstColumn" |
| 346 |
data-offset-x="233" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 347 |
<div class="secondRowSecondColumn" |
| 348 |
data-offset-x="67" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 349 |
</div> |
| 350 |
|
| 351 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-between' | self-alignment: center</p> |
| 352 |
<div class="grid directionRTL gridGaps contentSpaceBetween itemsCenter"> |
| 353 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 354 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 355 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 356 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 357 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 358 |
|
| 359 |
<div class="firstRowFirstColumn" |
| 360 |
data-offset-x="395" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 361 |
<div class="firstRowSecondColumn" |
| 362 |
data-offset-x="45" data-offset-y="45" data-expected-width="10" data-expected-height="10">X</div> |
| 363 |
<div class="secondRowFirstColumn" |
| 364 |
data-offset-x="395" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 365 |
<div class="secondRowSecondColumn" |
| 366 |
data-offset-x="45" data-offset-y="320" data-expected-width="10" data-expected-height="10">X</div> |
| 367 |
</div> |
| 368 |
|
| 369 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-between' | self-alignment: end</p> |
| 370 |
<div class="grid directionRTL gridGaps contentSpaceBetween itemsEnd"> |
| 371 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 372 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 373 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 374 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 375 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 376 |
|
| 377 |
<div class="firstRowFirstColumn" |
| 378 |
data-offset-x="300" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 379 |
<div class="firstRowSecondColumn" |
| 380 |
data-offset-x="0" data-offset-y="90" data-expected-width="10" data-expected-height="10">X</div> |
| 381 |
<div class="secondRowFirstColumn" |
| 382 |
data-offset-x="300" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 383 |
<div class="secondRowSecondColumn" |
| 384 |
data-offset-x="0" data-offset-y="340" data-expected-width="10" data-expected-height="10">X</div> |
| 385 |
</div> |
| 386 |
|
| 387 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-around' | self-alignment: center</p> |
| 388 |
<div class="grid directionRTL gridGaps contentSpaceAround itemsCenter"> |
| 389 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 390 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 391 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 392 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 393 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 394 |
|
| 395 |
<div class="firstRowFirstColumn" |
| 396 |
data-offset-x="350" data-offset-y="93" data-expected-width="10" data-expected-height="10">X</div> |
| 397 |
<div class="firstRowSecondColumn" |
| 398 |
data-offset-x="90" data-offset-y="93" data-expected-width="10" data-expected-height="10">X</div> |
| 399 |
<div class="secondRowFirstColumn" |
| 400 |
data-offset-x="350" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 401 |
<div class="secondRowSecondColumn" |
| 402 |
data-offset-x="90" data-offset-y="273" data-expected-width="10" data-expected-height="10">X</div> |
| 403 |
</div> |
| 404 |
|
| 405 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-around' | self-alignment: end</p> |
| 406 |
<div class="grid directionRTL gridGaps contentSpaceAround itemsEnd"> |
| 407 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 408 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 409 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 410 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 411 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 412 |
|
| 413 |
<div class="firstRowFirstColumn" |
| 414 |
data-offset-x="255" data-offset-y="138" data-expected-width="10" data-expected-height="10">X</div> |
| 415 |
<div class="firstRowSecondColumn" |
| 416 |
data-offset-x="45" data-offset-y="138" data-expected-width="10" data-expected-height="10">X</div> |
| 417 |
<div class="secondRowFirstColumn" |
| 418 |
data-offset-x="255" data-offset-y="293" data-expected-width="10" data-expected-height="10">X</div> |
| 419 |
<div class="secondRowSecondColumn" |
| 420 |
data-offset-x="45" data-offset-y="293" data-expected-width="10" data-expected-height="10">X</div> |
| 421 |
</div> |
| 422 |
|
| 423 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-evenly' | self-alignment: center</p> |
| 424 |
<div class="grid directionRTL gridGaps contentSpaceEvenly itemsCenter"> |
| 425 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 426 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 427 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 428 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 429 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 430 |
|
| 431 |
<div class="firstRowFirstColumn" |
| 432 |
data-offset-x="335" data-offset-y="108" data-expected-width="10" data-expected-height="10">X</div> |
| 433 |
<div class="firstRowSecondColumn" |
| 434 |
data-offset-x="105" data-offset-y="108" data-expected-width="10" data-expected-height="10">X</div> |
| 435 |
<div class="secondRowFirstColumn" |
| 436 |
data-offset-x="335" data-offset-y="257" data-expected-width="10" data-expected-height="10">X</div> |
| 437 |
<div class="secondRowSecondColumn" |
| 438 |
data-offset-x="105" data-offset-y="257" data-expected-width="10" data-expected-height="10">X</div> |
| 439 |
</div> |
| 440 |
|
| 441 |
<p>direction: RTL | grid-gap: 10px 20px | distribution: 'space-evenly' | self-alignment: end</p> |
| 442 |
<div class="grid directionRTL gridGaps contentSpaceEvenly itemsEnd"> |
| 443 |
<!-- Dummy DIVs to help checking the result visually. --> |
| 444 |
<div class="firstRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 445 |
<div class="firstRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 446 |
<div class="secondRowFirstColumn justifySelfStretch alignSelfStretch"></div> |
| 447 |
<div class="secondRowSecondColumn justifySelfStretch alignSelfStretch"></div> |
| 448 |
|
| 449 |
<div class="firstRowFirstColumn" |
| 450 |
data-offset-x="240" data-offset-y="153" data-expected-width="10" data-expected-height="10">X</div> |
| 451 |
<div class="firstRowSecondColumn" |
| 452 |
data-offset-x="60" data-offset-y="153" data-expected-width="10" data-expected-height="10">X</div> |
| 453 |
<div class="secondRowFirstColumn" |
| 454 |
data-offset-x="240" data-offset-y="277" data-expected-width="10" data-expected-height="10">X</div> |
| 455 |
<div class="secondRowSecondColumn" |
| 456 |
data-offset-x="60" data-offset-y="277" data-expected-width="10" data-expected-height="10">X</div> |
| 212 |
</div> |
457 |
</div> |
| 213 |
|
458 |
|
| 214 |
</body> |
459 |
</body> |
| 215 |
</html> |
|
|