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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-align-justify-margin-border-padding.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 200px; 14 grid-template-columns: 100px 200px;
14 grid-template-rows: 200px 200px; 15 grid-template-rows: 200px 200px;
15 padding: 10px 15px 20px 30px; 16 padding: 10px 15px 20px 30px;
16 border-width: 5px 10px 15px 20px; 17 border-width: 5px 10px 15px 20px;
17 border-style: dotted; 18 border-style: dotted;
18 border-color: blue; 19 border-color: blue;
19 width: -webkit-fit-content;
20 position: relative; 20 position: relative;
21 } 21 }
22 22
23 .cell { 23 .cell {
24 width: 20px; 24 width: 20px;
25 height: 40px; 25 height: 40px;
26 margin: 4px 8px 12px 16px; 26 margin: 4px 8px 12px 16px;
27 } 27 }
28
29
30 .stretch {
31 align-self: stretch;
32 justify-self: stretch;
33 }
34
35 </style> 28 </style>
36 </head> 29 </head>
37 <body onload="checkLayout('.grid')"> 30 <body onload="checkLayout('.grid')">
38 31
39 <p>This test checks that the 'margin', 'border' and 'padding' properties are app lied together correctly for 'align' and 'justify' properties.</p> 32 <p>This test checks that the 'margin', 'border' and 'padding' properties are app lied together correctly for 'align' and 'justify' properties.</p>
40 33
41 <div> 34 <div>
42 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 35 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
43 direction: LTR | align-items: 'auto' | justify-items: 'auto'</p> 36 direction: LTR | align-items: 'auto' | justify-items: 'auto'</p>
44 <div class="grid" data-expected-width="375" data-expected-height="450"> 37 <div class="grid fit-content" data-expected-width="375" data-expected-height ="450">
45 <div class="cell firstRowFirstColumn" data-offset-x="46" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div> 38 <div class="cell firstRowFirstColumn" data-offset-x="46" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div>
46 <div class="cell firstRowSecondColumn" data-offset-x="146" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div> 39 <div class="cell firstRowSecondColumn" data-offset-x="146" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div>
47 <div class="cell secondRowFirstColumn" data-offset-x="46" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div> 40 <div class="cell secondRowFirstColumn" data-offset-x="46" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div>
48 <div class="cell secondRowSecondColumn" data-offset-x="146" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div> 41 <div class="cell secondRowSecondColumn" data-offset-x="146" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div>
49 </div> 42 </div>
50 </div> 43 </div>
51 44
52 <div> 45 <div>
53 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 46 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
54 direction: LTR | align-items: 'center' | justify-items: 'center'</p> 47 direction: LTR | align-items: 'center' | justify-items: 'center'</p>
55 <div class="grid itemsCenter" data-expected-width="375" data-expected-height ="450"> 48 <div class="grid fit-content itemsCenter" data-expected-width="375" data-exp ected-height="450">
56 <div class="firstRowFirstColumn cell" data-offset-x="74" data-offse t-y="86" data-expected-width="20" data-expected-height="40"></div> 49 <div class="firstRowFirstColumn cell" data-offset-x="74" data-offse t-y="86" data-expected-width="20" data-expected-height="40"></div>
57 <div class="stretch firstRowSecondColumn" data-offset-x="130" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 50 <div class="selfStretch firstRowSecondColumn" data-offset-x="130" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
58 <div class="stretch secondRowFirstColumn" data-offset-x="30" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 51 <div class="selfStretch secondRowFirstColumn" data-offset-x="30" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
59 <div class="cell secondRowSecondColumn" data-offset-x="224" data-offse t-y="286" data-expected-width="20" data-expected-height="40"></div> 52 <div class="cell secondRowSecondColumn" data-offset-x="224" data-offse t-y="286" data-expected-width="20" data-expected-height="40"></div>
60 </div> 53 </div>
61 </div> 54 </div>
62 55
63 <div> 56 <div>
64 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 57 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
65 direction: LTR | align-items: 'end' | justify-items: 'end'</p> 58 direction: LTR | align-items: 'end' | justify-items: 'end'</p>
66 <div class="grid itemsEnd" data-expected-width="375" data-expected-height="4 50"> 59 <div class="grid fit-content itemsEnd" data-expected-width="375" data-expect ed-height="450">
67 <div class="cell firstRowFirstColumn" data-offset-x="102" data-offse t-y="158" data-expected-width="20" data-expected-height="40"></div> 60 <div class="cell firstRowFirstColumn" data-offset-x="102" data-offse t-y="158" data-expected-width="20" data-expected-height="40"></div>
68 <div class="stretch firstRowSecondColumn" data-offset-x="130" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 61 <div class="selfStretch firstRowSecondColumn" data-offset-x="130" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
69 <div class="stretch secondRowFirstColumn" data-offset-x="30" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 62 <div class="selfStretch secondRowFirstColumn" data-offset-x="30" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
70 <div class="cell secondRowSecondColumn" data-offset-x="302" data-offse t-y="358" data-expected-width="20" data-expected-height="40"></div> 63 <div class="cell secondRowSecondColumn" data-offset-x="302" data-offse t-y="358" data-expected-width="20" data-expected-height="40"></div>
71 </div> 64 </div>
72 </div> 65 </div>
73 66
74 <div> 67 <div>
75 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 68 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
76 direction: LTR | align-items: 'left' | justify-items: 'left'</p> 69 direction: LTR | align-items: 'left' | justify-items: 'left'</p>
77 <div class="grid itemsLeft" data-expected-width="375" data-expected-height=" 450"> 70 <div class="grid fit-content itemsLeft" data-expected-width="375" data-expec ted-height="450">
78 <div class="cell firstRowFirstColumn" data-offset-x="46" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div> 71 <div class="cell firstRowFirstColumn" data-offset-x="46" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div>
79 <div class="stretch firstRowSecondColumn" data-offset-x="130" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 72 <div class="selfStretch firstRowSecondColumn" data-offset-x="130" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
80 <div class="stretch secondRowFirstColumn" data-offset-x="30" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 73 <div class="selfStretch secondRowFirstColumn" data-offset-x="30" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
81 <div class="cell secondRowSecondColumn" data-offset-x="146" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div> 74 <div class="cell secondRowSecondColumn" data-offset-x="146" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div>
82 </div> 75 </div>
83 </div> 76 </div>
84 77
85 <div> 78 <div>
86 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 79 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
87 direction: LTR | align-items: 'right' | justify-items: 'right'</p> 80 direction: LTR | align-items: 'right' | justify-items: 'right'</p>
88 <div class="grid itemsRight" data-expected-width="375" data-expected-height= "450"> 81 <div class="grid fit-content itemsRight" data-expected-width="375" data-expe cted-height="450">
89 <div class="cell firstRowFirstColumn" data-offset-x="102" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div> 82 <div class="cell firstRowFirstColumn" data-offset-x="102" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div>
90 <div class="stretch firstRowSecondColumn" data-offset-x="130" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 83 <div class="selfStretch firstRowSecondColumn" data-offset-x="130" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
91 <div class="stretch secondRowFirstColumn" data-offset-x="30" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 84 <div class="selfStretch secondRowFirstColumn" data-offset-x="30" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
92 <div class="cell secondRowSecondColumn" data-offset-x="302" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div> 85 <div class="cell secondRowSecondColumn" data-offset-x="302" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div>
93 </div> 86 </div>
94 </div> 87 </div>
95 88
96 <div> 89 <div>
97 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 90 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
98 direction: LTR (ortho) | align-items: 'self-start' | justify-items: 'sel f-start'</p> 91 direction: LTR (ortho) | align-items: 'self-start' | justify-items: 'sel f-start'</p>
99 <div class="grid directionLTR itemsSelfStart" data-expected-width="375" data -expected-height="450"> 92 <div class="grid fit-content directionLTR itemsSelfStart" data-expected-widt h="375" data-expected-height="450">
100 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="10 2" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div > 93 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="10 2" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div >
101 <div class="directionRTL stretch firstRowSecondColumn" data-offset-x="13 0" data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 94 <div class="directionRTL selfStretch firstRowSecondColumn" data-offset-x ="130" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
102 <div class="directionRTL stretch secondRowFirstColumn" data-offset-x="30 " data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 95 <div class="directionRTL selfStretch secondRowFirstColumn" data-offset-x ="30" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
103 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="30 2" data-offset-y="214" data-expected-width="20" data-expected-height="40"></div > 96 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="30 2" data-offset-y="214" data-expected-width="20" data-expected-height="40"></div >
104 </div> 97 </div>
105 </div> 98 </div>
106 99
107 <div> 100 <div>
108 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 101 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
109 direction: LTR (ortho) | align-items: 'self-end' | justify-items: 'self- end'</p> 102 direction: LTR (ortho) | align-items: 'self-end' | justify-items: 'self- end'</p>
110 <div class="grid directionLTR itemsSelfEnd" data-expected-width="375" data-e xpected-height="450"> 103 <div class="grid fit-content directionLTR itemsSelfEnd" data-expected-width= "375" data-expected-height="450">
111 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="46 " data-offset-y="158" data-expected-width="20" data-expected-height="40"></div > 104 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="46 " data-offset-y="158" data-expected-width="20" data-expected-height="40"></div >
112 <div class="directionRTL stretch firstRowSecondColumn" data-offset-x="13 0" data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 105 <div class="directionRTL selfStretch firstRowSecondColumn" data-offset-x ="130" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
113 <div class="directionRTL stretch secondRowFirstColumn" data-offset-x="30 " data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 106 <div class="directionRTL selfStretch secondRowFirstColumn" data-offset-x ="30" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
114 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="14 6" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div > 107 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="14 6" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div >
115 </div> 108 </div>
116 </div> 109 </div>
117 110
118 <div> 111 <div>
119 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 112 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
120 direction: LTR (parall) | align-items: 'self-start' | justify-items: 'se lf-start'</p> 113 direction: LTR (parall) | align-items: 'self-start' | justify-items: 'se lf-start'</p>
121 <div class="grid directionLTR itemsSelfStart" data-expected-width="375" data -expected-height="450"> 114 <div class="grid fit-content directionLTR itemsSelfStart" data-expected-widt h="375" data-expected-height="450">
122 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="46 " data-offset-y="14" data-expected-width="20" data-expected-height="40"></div> 115 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="46 " data-offset-y="14" data-expected-width="20" data-expected-height="40"></div>
123 <div class="directionLTR stretch firstRowSecondColumn" data-offset-x="13 0" data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 116 <div class="directionLTR selfStretch firstRowSecondColumn" data-offset-x ="130" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
124 <div class="directionLTR stretch secondRowFirstColumn" data-offset-x="30 " data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 117 <div class="directionLTR selfStretch secondRowFirstColumn" data-offset-x ="30" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
125 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="14 6" data-offset-y="214" data-expected-width="20" data-expected-height="40"></div > 118 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="14 6" data-offset-y="214" data-expected-width="20" data-expected-height="40"></div >
126 </div> 119 </div>
127 </div> 120 </div>
128 121
129 <div> 122 <div>
130 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 123 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
131 direction: LTR - (parall) | align-items: 'self-end' | justify-items: 'se lf-end'</p> 124 direction: LTR - (parall) | align-items: 'self-end' | justify-items: 'se lf-end'</p>
132 <div class="grid directionLTR itemsSelfEnd" data-expected-width="375" data-e xpected-height="450"> 125 <div class="grid fit-content directionLTR itemsSelfEnd" data-expected-width= "375" data-expected-height="450">
133 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="10 2" data-offset-y="158" data-expected-width="20" data-expected-height="40"></di v> 126 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="10 2" data-offset-y="158" data-expected-width="20" data-expected-height="40"></di v>
134 <div class="directionLTR stretch firstRowSecondColumn" data-offset-x="13 0" data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 127 <div class="directionLTR selfStretch firstRowSecondColumn" data-offset-x ="130" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
135 <div class="directionLTR stretch secondRowFirstColumn" data-offset-x="30 " data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 128 <div class="directionLTR selfStretch secondRowFirstColumn" data-offset-x ="30" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
136 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="30 2" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div > 129 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="30 2" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div >
137 </div> 130 </div>
138 </div> 131 </div>
139 132
140 <!-- RTL direction. --> 133 <!-- RTL direction. -->
141 <div> 134 <div>
142 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 135 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
143 direction: RTL | align-items: 'auto' | justify-items: 'auto'</p> 136 direction: RTL | align-items: 'auto' | justify-items: 'auto'</p>
144 <div class="grid directionRTL" data-expected-width="375" data-expected-heigh t="450"> 137 <div class="grid fit-content directionRTL" data-expected-width="375" data-ex pected-height="450">
145 <div class="cell firstRowFirstColumn" data-offset-x="302" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div> 138 <div class="cell firstRowFirstColumn" data-offset-x="302" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div>
146 <div class="cell firstRowSecondColumn" data-offset-x="202" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div> 139 <div class="cell firstRowSecondColumn" data-offset-x="202" data-offset- y="14" data-expected-width="20" data-expected-height="40"></div>
147 <div class="cell secondRowFirstColumn" data-offset-x="302" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div> 140 <div class="cell secondRowFirstColumn" data-offset-x="302" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div>
148 <div class="cell secondRowSecondColumn" data-offset-x="202" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div> 141 <div class="cell secondRowSecondColumn" data-offset-x="202" data-offset- y="214" data-expected-width="20" data-expected-height="40"></div>
149 </div> 142 </div>
150 </div> 143 </div>
151 144
152 <div> 145 <div>
153 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 146 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
154 direction: RTL | align-items: 'center' | justify-items: 'center'</p> 147 direction: RTL | align-items: 'center' | justify-items: 'center'</p>
155 <div class="grid directionRTL itemsCenter" data-expected-width="375" data-ex pected-height="450"> 148 <div class="grid fit-content directionRTL itemsCenter" data-expected-width=" 375" data-expected-height="450">
156 <div class="cell firstRowFirstColumn" data-offset-x="274" data-offse t-y="86" data-expected-width="20" data-expected-height="40"></div> 149 <div class="cell firstRowFirstColumn" data-offset-x="274" data-offse t-y="86" data-expected-width="20" data-expected-height="40"></div>
157 <div class="stretch firstRowSecondColumn" data-offset-x="30" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 150 <div class="selfStretch firstRowSecondColumn" data-offset-x="30" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
158 <div class="stretch secondRowFirstColumn" data-offset-x="230" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 151 <div class="selfStretch secondRowFirstColumn" data-offset-x="230" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
159 <div class="cell secondRowSecondColumn" data-offset-x="124" data-offse t-y="286" data-expected-width="20" data-expected-height="40"></div> 152 <div class="cell secondRowSecondColumn" data-offset-x="124" data-offse t-y="286" data-expected-width="20" data-expected-height="40"></div>
160 </div> 153 </div>
161 </div> 154 </div>
162 155
163 <div> 156 <div>
164 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 157 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
165 direction: RTL | align-items: 'end' | justify-items: 'end'</p> 158 direction: RTL | align-items: 'end' | justify-items: 'end'</p>
166 <div class="grid directionRTL itemsEnd" data-expected-width="375" data -expected-height="450"> 159 <div class="grid fit-content directionRTL itemsEnd" data-expected-widt h="375" data-expected-height="450">
167 <div class="cell firstRowFirstColumn" data-offset-x="246" data-offse t-y="158" data-expected-width="20" data-expected-height="40"></div> 160 <div class="cell firstRowFirstColumn" data-offset-x="246" data-offse t-y="158" data-expected-width="20" data-expected-height="40"></div>
168 <div class="stretch firstRowSecondColumn" data-offset-x="30" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 161 <div class="selfStretch firstRowSecondColumn" data-offset-x="30" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
169 <div class="stretch secondRowFirstColumn" data-offset-x="230" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 162 <div class="selfStretch secondRowFirstColumn" data-offset-x="230" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
170 <div class="cell secondRowSecondColumn" data-offset-x="46" data-offse t-y="358" data-expected-width="20" data-expected-height="40"></div> 163 <div class="cell secondRowSecondColumn" data-offset-x="46" data-offse t-y="358" data-expected-width="20" data-expected-height="40"></div>
171 </div> 164 </div>
172 </div> 165 </div>
173 166
174 <div> 167 <div>
175 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 168 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
176 direction: RTL | align-items: 'left' | justify-items: 'left'</p> 169 direction: RTL | align-items: 'left' | justify-items: 'left'</p>
177 <div class="grid directionRTL itemsLeft" data-expected-width="375" data -expected-height="450"> 170 <div class="grid fit-content directionRTL itemsLeft" data-expected-widt h="375" data-expected-height="450">
178 <div class="cell firstRowFirstColumn" data-offset-x="246" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div> 171 <div class="cell firstRowFirstColumn" data-offset-x="246" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div>
179 <div class="stretch firstRowSecondColumn" data-offset-x="30" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 172 <div class="selfStretch firstRowSecondColumn" data-offset-x="30" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
180 <div class="stretch secondRowFirstColumn" data-offset-x="230" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 173 <div class="selfStretch secondRowFirstColumn" data-offset-x="230" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
181 <div class="cell secondRowSecondColumn" data-offset-x="46" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div> 174 <div class="cell secondRowSecondColumn" data-offset-x="46" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div>
182 </div> 175 </div>
183 </div> 176 </div>
184 177
185 <div> 178 <div>
186 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 179 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
187 direction: RTL | align-items: 'right' | justify-items: 'right'</p> 180 direction: RTL | align-items: 'right' | justify-items: 'right'</p>
188 <div class="grid directionRTL itemsRight" data-expected-width="375" data -expected-height="450"> 181 <div class="grid fit-content directionRTL itemsRight" data-expected-widt h="375" data-expected-height="450">
189 <div class="cell firstRowFirstColumn" data-offset-x="302" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div> 182 <div class="cell firstRowFirstColumn" data-offset-x="302" data-offse t-y="14" data-expected-width="20" data-expected-height="40"></div>
190 <div class="stretch firstRowSecondColumn" data-offset-x="30" data-offse t-y="10" data-expected-width="200" data-expected-height="200"></div> 183 <div class="selfStretch firstRowSecondColumn" data-offset-x="30" data-o ffset-y="10" data-expected-width="200" data-expected-height="200"></div>
191 <div class="stretch secondRowFirstColumn" data-offset-x="230" data-offse t-y="210" data-expected-width="100" data-expected-height="200"></div> 184 <div class="selfStretch secondRowFirstColumn" data-offset-x="230" data-o ffset-y="210" data-expected-width="100" data-expected-height="200"></div>
192 <div class="cell secondRowSecondColumn" data-offset-x="202" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div> 185 <div class="cell secondRowSecondColumn" data-offset-x="202" data-offse t-y="214" data-expected-width="20" data-expected-height="40"></div>
193 </div> 186 </div>
194 </div> 187 </div>
195 188
196 <div> 189 <div>
197 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 190 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
198 direction: RTL (ortho) | align-items: 'self-start' | justify-items: 'sel f-start'</p> 191 direction: RTL (ortho) | align-items: 'self-start' | justify-items: 'sel f-start'</p>
199 <div class="grid directionRTL itemsSelfStart" data-expected-width="375" data -expected-height="450"> 192 <div class="grid fit-content directionRTL itemsSelfStart" data-expected-widt h="375" data-expected-height="450">
200 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="24 6" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div > 193 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="24 6" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div >
201 <div class="directionLTR stretch firstRowSecondColumn" data-offset-x="30 " data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 194 <div class="directionLTR selfStretch firstRowSecondColumn" data-offset-x ="30" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
202 <div class="directionLTR stretch secondRowFirstColumn" data-offset-x="23 0" data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 195 <div class="directionLTR selfStretch secondRowFirstColumn" data-offset-x ="230" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
203 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="46 " data-offset-y="214" data-expected-width="20" data-expected-height="40"></div > 196 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="46 " data-offset-y="214" data-expected-width="20" data-expected-height="40"></div >
204 </div> 197 </div>
205 </div> 198 </div>
206 199
207 <div> 200 <div>
208 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 201 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
209 direction: RTL (ortho) | align-items: 'self-end' | justify-items: 'self- end'</p> 202 direction: RTL (ortho) | align-items: 'self-end' | justify-items: 'self- end'</p>
210 <div class="grid directionRTL itemsSelfEnd" data-expected-width="375" data-e xpected-height="450"> 203 <div class="grid fit-content directionRTL itemsSelfEnd" data-expected-width= "375" data-expected-height="450">
211 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="30 2" data-offset-y="158" data-expected-width="20" data-expected-height="40"></div > 204 <div class="directionLTR cell firstRowFirstColumn" data-offset-x="30 2" data-offset-y="158" data-expected-width="20" data-expected-height="40"></div >
212 <div class="directionLTR stretch firstRowSecondColumn" data-offset-x="30 " data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 205 <div class="directionLTR selfStretch firstRowSecondColumn" data-offset-x ="30" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
213 <div class="directionLTR stretch secondRowFirstColumn" data-offset-x="23 0" data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 206 <div class="directionLTR selfStretch secondRowFirstColumn" data-offset-x ="230" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
214 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="20 2" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div > 207 <div class="directionLTR cell secondRowSecondColumn" data-offset-x="20 2" data-offset-y="358" data-expected-width="20" data-expected-height="40"></div >
215 </div> 208 </div>
216 </div> 209 </div>
217 210
218 <div> 211 <div>
219 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 212 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
220 direction: RTL (parall) | align-items: 'self-start' | justify-items: 'se lf-start'</p> 213 direction: RTL (parall) | align-items: 'self-start' | justify-items: 'se lf-start'</p>
221 <div class="grid directionRTL itemsSelfStart" data-expected-width="375" data -expected-height="450"> 214 <div class="grid fit-content directionRTL itemsSelfStart" data-expected-widt h="375" data-expected-height="450">
222 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="30 2" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div > 215 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="30 2" data-offset-y="14" data-expected-width="20" data-expected-height="40"></div >
223 <div class="directionRTL stretch firstRowSecondColumn" data-offset-x="30 " data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 216 <div class="directionRTL selfStretch firstRowSecondColumn" data-offset-x ="30" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
224 <div class="directionRTL stretch secondRowFirstColumn" data-offset-x="23 0" data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 217 <div class="directionRTL selfStretch secondRowFirstColumn" data-offset-x ="230" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
225 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="20 2" data-offset-y="214" data-expected-width="20" data-expected-height="40"></di v> 218 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="20 2" data-offset-y="214" data-expected-width="20" data-expected-height="40"></di v>
226 </div> 219 </div>
227 </div> 220 </div>
228 221
229 <div> 222 <div>
230 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br> 223 <p>border: 5px 10px 15px 20px | padding: 10px 15px 20px 30px | margin: 4px 8 px 12px 16px<br>
231 direction: RTL (parall) | align-items: 'self-end' | justify-items: 'self -end'</p> 224 direction: RTL (parall) | align-items: 'self-end' | justify-items: 'self -end'</p>
232 <div class="grid directionRTL itemsSelfEnd" data-expected-width="375" data-e xpected-height="450"> 225 <div class="grid fit-content directionRTL itemsSelfEnd" data-expected-width= "375" data-expected-height="450">
233 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="24 6" data-offset-y="158" data-expected-width="20" data-expected-height="40"></div > 226 <div class="directionRTL cell firstRowFirstColumn" data-offset-x="24 6" data-offset-y="158" data-expected-width="20" data-expected-height="40"></div >
234 <div class="directionRTL stretch firstRowSecondColumn" data-offset-x="30 " data-offset-y="10" data-expected-width="200" data-expected-height="200"></di v> 227 <div class="directionRTL selfStretch firstRowSecondColumn" data-offset-x ="30" data-offset-y="10" data-expected-width="200" data-expected-height="200"> </div>
235 <div class="directionRTL stretch secondRowFirstColumn" data-offset-x="23 0" data-offset-y="210" data-expected-width="100" data-expected-height="200"></di v> 228 <div class="directionRTL selfStretch secondRowFirstColumn" data-offset-x ="230" data-offset-y="210" data-expected-width="100" data-expected-height="200"> </div>
236 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="46 " data-offset-y="358" data-expected-width="20" data-expected-height="40"></div> 229 <div class="directionRTL cell secondRowSecondColumn" data-offset-x="46 " data-offset-y="358" data-expected-width="20" data-expected-height="40"></div>
237 </div> 230 </div>
238 </div> 231 </div>
239 232
240 </body> 233 </body>
241 </html> 234 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698