Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-align.html

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
4 <link href="resources/grid.css" rel="stylesheet"> 5 <link href="resources/grid.css" rel="stylesheet">
5 <link href="resources/grid-alignment.css" rel="stylesheet"> 6 <link href="resources/grid-alignment.css" rel="stylesheet">
6 <script src="../../resources/check-layout.js"></script> 7 <script src="../../resources/check-layout.js"></script>
7 <style> 8 <style>
8 body { 9 body {
9 margin: 0; 10 margin: 0;
10 } 11 }
11 12
12 .grid { 13 .grid {
13 grid-template-columns: 100px 100px; 14 grid-template-columns: 100px 100px;
14 grid-template-rows: 200px 200px; 15 grid-template-rows: 200px 200px;
15 width: -webkit-fit-content;
16 margin-bottom: 20px; 16 margin-bottom: 20px;
17 } 17 }
18 18
19 .cell { 19 .cell {
20 width: 20px; 20 width: 20px;
21 height: 40px; 21 height: 40px;
22 } 22 }
23 23
24 .item { 24 .item {
25 width: 8px; 25 width: 8px;
26 height: 16px; 26 height: 16px;
27 background: black; 27 background: black;
28 } 28 }
29 29
30 </style> 30 </style>
31 </head> 31 </head>
32 <body onload="checkLayout('.grid')"> 32 <body onload="checkLayout('.grid')">
33 33
34 <p>This test checks that the align-self property is applied correctly.</p> 34 <p>This test checks that the align-self property is applied correctly.</p>
35 35
36 <div style="position: relative"> 36 <div style="position: relative">
37 <div class="grid" data-expected-width="200" data-expected-height="400"> 37 <div class="grid fit-content" data-expected-width="200" data-expected-height ="400">
38 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="0" data -offset-y="0" data-expected-width="100" data-expected-height="200"></div> 38 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="0" data -offset-y="0" data-expected-width="100" data-expected-height="200"></div>
39 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="100 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 39 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="100 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
40 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="100" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> 40 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="100" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div>
41 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="0" data-offset-y="280" data-expected-width="20" data-expected-height="40"></div> 41 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="0" data-offset-y="280" data-expected-width="20" data-expected-height="40"></div>
42 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="10 0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div> 42 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="10 0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div>
43 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="100 " data-offset-y="200" data-expected-width="20" data-expected-height="40"></div> 43 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="100 " data-offset-y="200" data-expected-width="20" data-expected-height="40"></div>
44 </div> 44 </div>
45 </div> 45 </div>
46 46
47 <div style="position: relative"> 47 <div style="position: relative">
48 <div class="grid" data-expected-width="200" data-expected-height="400"> 48 <div class="grid fit-content" data-expected-width="200" data-expected-height ="400">
49 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> 49 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div>
50 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "100" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div > 50 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "100" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div >
51 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div > 51 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div >
52 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v> 52 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v>
53 </div> 53 </div>
54 </div> 54 </div>
55 55
56 <!-- Default alignment and initial values. --> 56 <!-- Default alignment and initial values. -->
57 <div style="position: relative"> 57 <div style="position: relative">
58 <div class="grid alignItemsCenter" data-expected-width="200" data-expected-h eight="400"> 58 <div class="grid fit-content alignItemsCenter" data-expected-width="200" dat a-expected-height="400">
59 <div class="cell alignSelfAuto firstRowFirstColumn" data-offset-x="0" da ta-offset-y="80" data-expected-width="20" data-expected-height="40"></div> 59 <div class="cell alignSelfAuto firstRowFirstColumn" data-offset-x="0" da ta-offset-y="80" data-expected-width="20" data-expected-height="40"></div>
60 <div class="cell firstRowSecondColumn" data-offset-x="100" data-offset-y ="80" data-expected-width="20" data-expected-height="40"></div> 60 <div class="cell firstRowSecondColumn" data-offset-x="100" data-offset-y ="80" data-expected-width="20" data-expected-height="40"></div>
61 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div > 61 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div >
62 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v> 62 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v>
63 </div> 63 </div>
64 </div> 64 </div>
65 65
66 <div style="position: relative"> 66 <div style="position: relative">
67 <div class="grid" data-expected-width="200" data-expected-height="400"> 67 <div class="grid fit-content" data-expected-width="200" data-expected-height ="400">
68 <div class="alignSelfAuto firstRowFirstColumn" data-offset-x="0" data-of fset-y="0" data-expected-width="100" data-expected-height="200"></div> 68 <div class="alignSelfAuto firstRowFirstColumn" data-offset-x="0" data-of fset-y="0" data-expected-width="100" data-expected-height="200"></div>
69 <div class="cell firstRowSecondColumn" data-offset-x="100" data-offset-y ="0" data-expected-width="20" data-expected-height="40"></div> 69 <div class="cell firstRowSecondColumn" data-offset-x="100" data-offset-y ="0" data-expected-width="20" data-expected-height="40"></div>
70 <div class="cell alignSelfStart secondRowFirstColumn" data-offset-x="0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div> 70 <div class="cell alignSelfStart secondRowFirstColumn" data-offset-x="0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div>
71 <div class="cell alignSelfEnd secondRowSecondColumn" data-offset-x="100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></div> 71 <div class="cell alignSelfEnd secondRowSecondColumn" data-offset-x="100" data-offset-y="360" data-expected-width="20" data-expected-height="40"></div>
72 </div> 72 </div>
73 </div> 73 </div>
74 74
75 <!-- RTL direction (it should not affect the block-flow direction). --> 75 <!-- RTL direction (it should not affect the block-flow direction). -->
76 <div style="position: relative"> 76 <div style="position: relative">
77 <div class="grid directionRTL" data-expected-width="200" data-expected-heig ht="400"> 77 <div class="grid fit-content directionRTL" data-expected-width="200" data-e xpected-height="400">
78 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="100" d ata-offset-y="0" data-expected-width="100" data-expected-height="200"></div> 78 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="100" d ata-offset-y="0" data-expected-width="100" data-expected-height="200"></div>
79 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="80 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 79 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="80 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
80 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="80" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div> 80 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="80" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div>
81 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="1 80" data-offset-y="280" data-expected-width="20" data-expected-height="40"></div > 81 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="1 80" data-offset-y="280" data-expected-width="20" data-expected-height="40"></div >
82 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="8 0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div> 82 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="8 0" data-offset-y="200" data-expected-width="20" data-expected-height="40"></div>
83 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="80 " data-offset-y="200" data-expected-width="20" data-expected-height="40"></div> 83 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="80 " data-offset-y="200" data-expected-width="20" data-expected-height="40"></div>
84 </div> 84 </div>
85 </div> 85 </div>
86 86
87 <div style="position: relative"> 87 <div style="position: relative">
88 <div class="grid directionRTL" data-expected-width="200" data-expected-heig ht="400"> 88 <div class="grid fit-content directionRTL" data-expected-width="200" data-e xpected-height="400">
89 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="1 80" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div > 89 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="1 80" data-offset-y="160" data-expected-width="20" data-expected-height="40"></div >
90 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x ="80" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div > 90 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x ="80" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div >
91 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x ="180" data-offset-y="200" data-expected-width="20" data-expected-height="40"></ div> 91 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x ="180" data-offset-y="200" data-expected-width="20" data-expected-height="40"></ div>
92 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x= "80" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v> 92 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x= "80" data-offset-y="360" data-expected-width="20" data-expected-height="40"></di v>
93 </div> 93 </div>
94 </div> 94 </div>
95 95
96 <!-- RTL direction (it should not affect the block-flow) with opposite direction s grid container vs grid item. --> 96 <!-- RTL direction (it should not affect the block-flow) with opposite direction s grid container vs grid item. -->
97 <div style="position: relative"> 97 <div style="position: relative">
98 <div class="grid" data-expected-width="200" data-expected-height="400"> 98 <div class="grid fit-content" data-expected-width="200" data-expected-heigh t="400">
99 <div class="alignSelfStretch firstRowFirstColumn directionRTL" data-off set-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="200" ></div> 99 <div class="alignSelfStretch firstRowFirstColumn directionRTL" data-off set-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="200" ></div>
100 <div class="cell alignSelfStart firstRowSecondColumn directionRTL" data -offset-x="100" data-offset-y="0" data-expected-width="20" data-expected-height= "40"></div> 100 <div class="cell alignSelfStart firstRowSecondColumn directionRTL" data -offset-x="100" data-offset-y="0" data-expected-width="20" data-expected-height= "40"></div>
101 <div class="cell alignSelfEnd firstRowSecondColumn directionRTL" data-o ffset-x="100" data-offset-y="160" data-expected-width="20" data-expected-height= "40"></div> 101 <div class="cell alignSelfEnd firstRowSecondColumn directionRTL" data-o ffset-x="100" data-offset-y="160" data-expected-width="20" data-expected-height= "40"></div>
102 <div class="cell alignSelfCenter secondRowFirstColumn directionRTL" dat a-offset-x="0" data-offset-y="280" data-expected-width="20" data-expected-height ="40"></div> 102 <div class="cell alignSelfCenter secondRowFirstColumn directionRTL" dat a-offset-x="0" data-offset-y="280" data-expected-width="20" data-expected-height ="40"></div>
103 <div class="cell alignSelfRight secondRowSecondColumn directionRTL" dat a-offset-x="100" data-offset-y="200" data-expected-width="20" data-expected-heig ht="40"></div> 103 <div class="cell alignSelfRight secondRowSecondColumn directionRTL" dat a-offset-x="100" data-offset-y="200" data-expected-width="20" data-expected-heig ht="40"></div>
104 <div class="cell alignSelfLeft secondRowSecondColumn directionRTL" data -offset-x="100" data-offset-y="200" data-expected-width="20" data-expected-heigh t="40"></div> 104 <div class="cell alignSelfLeft secondRowSecondColumn directionRTL" data -offset-x="100" data-offset-y="200" data-expected-width="20" data-expected-heigh t="40"></div>
105 </div> 105 </div>
106 </div> 106 </div>
107 107
108 <div style="position: relative"> 108 <div style="position: relative">
109 <div class="grid" data-expected-width="200" data-expected-height="400"> 109 <div class="grid fit-content" data-expected-width="200" data-expected-heigh t="400">
110 <div class="cell alignSelfFlexEnd firstRowFirstColumn directionRTL" dat a-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height ="40"></div> 110 <div class="cell alignSelfFlexEnd firstRowFirstColumn directionRTL" dat a-offset-x="0" data-offset-y="160" data-expected-width="20" data-expected-height ="40"></div>
111 <div class="cell alignSelfFlexStart firstRowSecondColumn directionRTL" data-offset-x="100" data-offset-y="0" data-expected-width="20" data-expected-hei ght="40"></div> 111 <div class="cell alignSelfFlexStart firstRowSecondColumn directionRTL" data-offset-x="100" data-offset-y="0" data-expected-width="20" data-expected-hei ght="40"></div>
112 <div class="cell alignSelfSelfStart secondRowFirstColumn directionRTL" data-offset-x="0" data-offset-y="200" data-expected-width="20" data-expected-hei ght="40"></div> 112 <div class="cell alignSelfSelfStart secondRowFirstColumn directionRTL" data-offset-x="0" data-offset-y="200" data-expected-width="20" data-expected-hei ght="40"></div>
113 <div class="cell alignSelfSelfEnd secondRowSecondColumn directionRTL" d ata-offset-x="100" data-offset-y="360" data-expected-width="20" data-expected-he ight="40"></div> 113 <div class="cell alignSelfSelfEnd secondRowSecondColumn directionRTL" d ata-offset-x="100" data-offset-y="360" data-expected-width="20" data-expected-he ight="40"></div>
114 </div> 114 </div>
115 </div> 115 </div>
116 116
117 <!-- Vertical RL writing mode. --> 117 <!-- Vertical RL writing mode. -->
118 <div style="position: relative"> 118 <div style="position: relative">
119 <div class="grid verticalRL" data-expected-width="400" data-expected-height= "200"> 119 <div class="grid fit-content verticalRL" data-expected-width="400" data-expe cted-height="200">
120 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="200" da ta-offset-y="0" data-expected-width="200" data-expected-height="100"></div> 120 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="200" da ta-offset-y="0" data-expected-width="200" data-expected-height="100"></div>
121 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="380 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 121 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="380 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
122 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 122 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
123 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="90 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 123 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="90 " data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
124 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="18 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 124 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="18 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
125 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="180 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 125 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="180 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
126 </div> 126 </div>
127 </div> 127 </div>
128 128
129 <div style="position: relative"> 129 <div style="position: relative">
130 <div class="grid verticalRL" data-expected-width="400" data-expected-height= "200"> 130 <div class="grid fit-content verticalRL" data-expected-width="400" data-expe cted-height="200">
131 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="20 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 131 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="20 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
132 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "380" data-offset-y="100" data-expected-width="20" data-expected-height="40"></d iv> 132 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "380" data-offset-y="100" data-expected-width="20" data-expected-height="40"></d iv>
133 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "180" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div > 133 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "180" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div >
134 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 134 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
135 </div> 135 </div>
136 </div> 136 </div>
137 137
138 <!-- Vertical LR writing mode. --> 138 <!-- Vertical LR writing mode. -->
139 <div style="position: relative"> 139 <div style="position: relative">
140 <div class="grid verticalLR" data-expected-width="400" data-expected-height= "200"> 140 <div class="grid fit-content verticalLR" data-expected-width="400" data-expe cted-height="200">
141 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="0" data -offset-y="0" data-expected-width="200" data-expected-height="100"></div> 141 <div class="alignSelfStretch firstRowFirstColumn" data-offset-x="0" data -offset-y="0" data-expected-width="200" data-expected-height="100"></div>
142 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 142 <div class="cell alignSelfStart firstRowSecondColumn" data-offset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
143 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 143 <div class="cell alignSelfEnd firstRowSecondColumn" data-offset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
144 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="29 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 144 <div class="cell alignSelfCenter secondRowFirstColumn" data-offset-x="29 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
145 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="20 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 145 <div class="cell alignSelfRight secondRowSecondColumn" data-offset-x="20 0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
146 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="200 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div> 146 <div class="cell alignSelfLeft secondRowSecondColumn" data-offset-x="200 " data-offset-y="100" data-expected-width="20" data-expected-height="40"></div>
147 </div> 147 </div>
148 </div> 148 </div>
149 149
150 <div style="position: relative"> 150 <div style="position: relative">
151 <div class="grid verticalLR" data-expected-width="400" data-expected-height= "200"> 151 <div class="grid fit-content verticalLR" data-expected-width="400" data-expe cted-height="200">
152 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="18 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div> 152 <div class="cell alignSelfFlexEnd firstRowFirstColumn" data-offset-x="18 0" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div>
153 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div > 153 <div class="cell alignSelfFlexStart firstRowSecondColumn" data-offset-x= "0" data-offset-y="100" data-expected-width="20" data-expected-height="40"></div >
154 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "200" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div > 154 <div class="cell alignSelfSelfStart secondRowFirstColumn" data-offset-x= "200" data-offset-y="0" data-expected-width="20" data-expected-height="40"></div >
155 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 380" data-offset-y="100" data-expected-width="20" data-expected-height="40"></di v> 155 <div class="cell alignSelfSelfEnd secondRowSecondColumn" data-offset-x=" 380" data-offset-y="100" data-expected-width="20" data-expected-height="40"></di v>
156 </div> 156 </div>
157 </div> 157 </div>
158 158
159 <!-- Vertical RL writing mode with opposite block-flow directions grid container vs grid item. --> 159 <!-- Vertical RL writing mode with opposite block-flow directions grid container vs grid item. -->
160 <div style="position: relative"> 160 <div style="position: relative">
161 <div class="grid verticalRL" data-expected-width="400" data-expected-height= "200"> 161 <div class="grid fit-content verticalRL" data-expected-width="400" data-expe cted-height="200">
162 <div class="alignSelfStretch firstRowFirstColumn verticalLR" data-offset -x="200" data-offset-y="0" data-expected-width="200" data-expected-height="100"> 162 <div class="alignSelfStretch firstRowFirstColumn verticalLR" data-offset -x="200" data-offset-y="0" data-expected-width="200" data-expected-height="100">
163 </div> 163 </div>
164 <div class="cell alignSelfStart firstRowSecondColumn verticalLR" data-of fset-x="380" data-offset-y="100" data-expected-width="20" data-expected-height=" 40"> 164 <div class="cell alignSelfStart firstRowSecondColumn verticalLR" data-of fset-x="380" data-offset-y="100" data-expected-width="20" data-expected-height=" 40">
165 <div class="item"></div> 165 <div class="item"></div>
166 </div> 166 </div>
167 <div class="cell alignSelfEnd firstRowSecondColumn verticalLR" data-offs et-x="200" data-offset-y="100" data-expected-width="20" data-expected-height="40 "> 167 <div class="cell alignSelfEnd firstRowSecondColumn verticalLR" data-offs et-x="200" data-offset-y="100" data-expected-width="20" data-expected-height="40 ">
168 <div class="item"></div> 168 <div class="item"></div>
169 </div> 169 </div>
170 <div class="cell alignSelfCenter secondRowFirstColumn verticalLR" data-o ffset-x="90" data-offset-y="0" data-expected-width="20" data-expected-height="40 "> 170 <div class="cell alignSelfCenter secondRowFirstColumn verticalLR" data-o ffset-x="90" data-offset-y="0" data-expected-width="20" data-expected-height="40 ">
171 <div class="item"></div> 171 <div class="item"></div>
172 </div> 172 </div>
173 <div class="cell alignSelfRight secondRowSecondColumn verticalLR" data-o ffset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height= "40"> 173 <div class="cell alignSelfRight secondRowSecondColumn verticalLR" data-o ffset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height= "40">
174 <div class="item"></div> 174 <div class="item"></div>
175 </div> 175 </div>
176 <div class="cell alignSelfLeft secondRowSecondColumn verticalLR" data-of fset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height=" 40"> 176 <div class="cell alignSelfLeft secondRowSecondColumn verticalLR" data-of fset-x="180" data-offset-y="100" data-expected-width="20" data-expected-height=" 40">
177 <div class="item"></div> 177 <div class="item"></div>
178 </div> 178 </div>
179 </div> 179 </div>
180 </div> 180 </div>
181 181
182 <div style="position: relative"> 182 <div style="position: relative">
183 <div class="grid verticalRL" data-expected-width="400" data-expected-height= "200"> 183 <div class="grid fit-content verticalRL" data-expected-width="400" data-expe cted-height="200">
184 <div class="cell alignSelfFlexEnd firstRowFirstColumn verticalLR" data-o ffset-x="200" data-offset-y="0" data-expected-width="20" data-expected-height="4 0"> 184 <div class="cell alignSelfFlexEnd firstRowFirstColumn verticalLR" data-o ffset-x="200" data-offset-y="0" data-expected-width="20" data-expected-height="4 0">
185 <div class="item"></div> 185 <div class="item"></div>
186 </div> 186 </div>
187 <div class="cell alignSelfFlexStart firstRowSecondColumn verticalLR" dat a-offset-x="380" data-offset-y="100" data-expected-width="20" data-expected-heig ht="40"> 187 <div class="cell alignSelfFlexStart firstRowSecondColumn verticalLR" dat a-offset-x="380" data-offset-y="100" data-expected-width="20" data-expected-heig ht="40">
188 <div class="item"></div> 188 <div class="item"></div>
189 </div> 189 </div>
190 <div class="cell alignSelfSelfStart secondRowFirstColumn verticalLR" dat a-offset-x="0" data-offset-y="0" data-expected-width="20" data-expected-height=" 40"> 190 <div class="cell alignSelfSelfStart secondRowFirstColumn verticalLR" dat a-offset-x="0" data-offset-y="0" data-expected-width="20" data-expected-height=" 40">
191 <div class="item"></div> 191 <div class="item"></div>
192 </div> 192 </div>
193 <div class="cell alignSelfSelfEnd secondRowSecondColumn verticalLR" data -offset-x="180" data-offset-y="100" data-expected-width="20" data-expected-heigh t="40"> 193 <div class="cell alignSelfSelfEnd secondRowSecondColumn verticalLR" data -offset-x="180" data-offset-y="100" data-expected-width="20" data-expected-heigh t="40">
194 <div class="item"></div> 194 <div class="item"></div>
195 </div> 195 </div>
196 </div> 196 </div>
197 </div> 197 </div>
198 198
199 <!-- Vertical LR writing mode with opposite block-flow directions grid container vs grid item. --> 199 <!-- Vertical LR writing mode with opposite block-flow directions grid container vs grid item. -->
200 <div style="position: relative"> 200 <div style="position: relative">
201 <div class="grid verticalLR" data-expected-width="400" data-expected-height= "200"> 201 <div class="grid fit-content verticalLR" data-expected-width="400" data-expe cted-height="200">
202 <div class="alignSelfStretch firstRowFirstColumn verticalRL" data-offset -x="0" data-offset-y="0" data-expected-width="200" data-expected-height="100"> 202 <div class="alignSelfStretch firstRowFirstColumn verticalRL" data-offset -x="0" data-offset-y="0" data-expected-width="200" data-expected-height="100">
203 </div> 203 </div>
204 <div class="cell alignSelfStart firstRowSecondColumn verticalRL" data-of fset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height="40 "> 204 <div class="cell alignSelfStart firstRowSecondColumn verticalRL" data-of fset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height="40 ">
205 <div class="item"></div> 205 <div class="item"></div>
206 </div> 206 </div>
207 <div class="cell alignSelfEnd firstRowSecondColumn verticalRL" data-offs et-x="180" data-offset-y="100" data-expected-width="20" data-expected-height="40 "> 207 <div class="cell alignSelfEnd firstRowSecondColumn verticalRL" data-offs et-x="180" data-offset-y="100" data-expected-width="20" data-expected-height="40 ">
208 <div class="item"></div> 208 <div class="item"></div>
209 </div> 209 </div>
210 <div class="cell alignSelfCenter secondRowFirstColumn verticalRL" data-o ffset-x="290" data-offset-y="0" data-expected-width="20" data-expected-height="4 0"> 210 <div class="cell alignSelfCenter secondRowFirstColumn verticalRL" data-o ffset-x="290" data-offset-y="0" data-expected-width="20" data-expected-height="4 0">
211 <div class="item"></div> 211 <div class="item"></div>
212 </div> 212 </div>
213 <div class="cell alignSelfRight secondRowSecondColumn verticalRL" data-o ffset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height= "40"> 213 <div class="cell alignSelfRight secondRowSecondColumn verticalRL" data-o ffset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height= "40">
214 <div class="item"></div> 214 <div class="item"></div>
215 </div> 215 </div>
216 <div class="cell alignSelfLeft secondRowSecondColumn verticalRL" data-of fset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height=" 40"> 216 <div class="cell alignSelfLeft secondRowSecondColumn verticalRL" data-of fset-x="200" data-offset-y="100" data-expected-width="20" data-expected-height=" 40">
217 <div class="item"></div> 217 <div class="item"></div>
218 </div> 218 </div>
219 </div> 219 </div>
220 </div> 220 </div>
221 221
222 <div style="position: relative"> 222 <div style="position: relative">
223 <div class="grid verticalLR" data-expected-width="400" data-expected-height= "200"> 223 <div class="grid fit-content verticalLR" data-expected-width="400" data-expe cted-height="200">
224 <div class="cell alignSelfFlexEnd firstRowFirstColumn verticalRL" data-o ffset-x="180" data-offset-y="0" data-expected-width="20" data-expected-height="4 0"> 224 <div class="cell alignSelfFlexEnd firstRowFirstColumn verticalRL" data-o ffset-x="180" data-offset-y="0" data-expected-width="20" data-expected-height="4 0">
225 <div class="item"></div> 225 <div class="item"></div>
226 </div> 226 </div>
227 <div class="cell alignSelfFlexStart firstRowSecondColumn verticalRL" dat a-offset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height ="40"> 227 <div class="cell alignSelfFlexStart firstRowSecondColumn verticalRL" dat a-offset-x="0" data-offset-y="100" data-expected-width="20" data-expected-height ="40">
228 <div class="item"></div> 228 <div class="item"></div>
229 </div> 229 </div>
230 <div class="cell alignSelfSelfStart secondRowFirstColumn verticalRL" dat a-offset-x="380" data-offset-y="0" data-expected-width="20" data-expected-height ="40"> 230 <div class="cell alignSelfSelfStart secondRowFirstColumn verticalRL" dat a-offset-x="380" data-offset-y="0" data-expected-width="20" data-expected-height ="40">
231 <div class="item"></div> 231 <div class="item"></div>
232 </div> 232 </div>
233 <div class="cell alignSelfSelfEnd secondRowSecondColumn verticalRL" data -offset-x="200" data-offset-y="100" data-expected-width="20" data-expected-heigh t="40"> 233 <div class="cell alignSelfSelfEnd secondRowSecondColumn verticalRL" data -offset-x="200" data-offset-y="100" data-expected-width="20" data-expected-heigh t="40">
234 <div class="item"></div> 234 <div class="item"></div>
235 </div> 235 </div>
236 </div> 236 </div>
237 </div> 237 </div>
238 238
239 </body> 239 </body>
240 </html> 240 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698