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

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

Issue 2074353002: The element's offset isn't relevant when comparing its dimensions with that of its overflow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@621359
Patch Set: bug 619509 Created 4 years, 5 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="resources/grid.css" rel="stylesheet"> 4 <link href="resources/grid.css" rel="stylesheet">
5 <link href="resources/grid-alignment.css" rel="stylesheet"> 5 <link href="resources/grid-alignment.css" rel="stylesheet">
6 <script src="../../resources/check-layout.js"></script> 6 <script src="../../resources/check-layout.js"></script>
7 <style> 7 <style>
8 body { 8 body {
9 margin: 0px; 9 margin: 0px;
10 } 10 }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 <div class="thirdRowFirstColumn" data-offset-x="290" data-offset-y="0" d ata-expected-width="40" data-expected-height="20"></div> 124 <div class="thirdRowFirstColumn" data-offset-x="290" data-offset-y="0" d ata-expected-width="40" data-expected-height="20"></div>
125 <div class="thirdRowSecondColumn" data-offset-x="290" data-offset-y="20" data-expected-width="40" data-expected-height="20"></div> 125 <div class="thirdRowSecondColumn" data-offset-x="290" data-offset-y="20" data-expected-width="40" data-expected-height="20"></div>
126 </div> 126 </div>
127 </div> 127 </div>
128 128
129 <div style="position: relative"> 129 <div style="position: relative">
130 <p>direction: LTR | align-content: 'stretch'</p> 130 <p>direction: LTR | align-content: 'stretch'</p>
131 <div class="grid stretchedGrid alignContentStretch verticalLR" data-expected -width="400" data-expected-height="300"> 131 <div class="grid stretchedGrid alignContentStretch verticalLR" data-expected -width="400" data-expected-height="300">
132 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" dat a-expected-width="133" data-expected-height="20"></div> 132 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" dat a-expected-width="133" data-expected-height="20"></div>
133 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" d ata-expected-width="133" data-expected-height="20"></div> 133 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" d ata-expected-width="133" data-expected-height="20"></div>
134 <div class="secondRowFirstColumn" data-offset-x="133" data-offset-y="0" data-expected-width="134" data-expected-height="20"></div> 134 <div class="secondRowFirstColumn" data-offset-x="133" data-offset-y="0" data-expected-width="133" data-expected-height="20"></div>
135 <div class="secondRowSecondColumn" data-offset-x="133" data-offset-y="20 " data-expected-width="134" data-expected-height="20"></div> 135 <div class="secondRowSecondColumn" data-offset-x="133" data-offset-y="20 " data-expected-width="133" data-expected-height="20"></div>
136 <div class="thirdRowFirstColumn" data-offset-x="267" data-offset-y="0" d ata-expected-width="133" data-expected-height="20"></div> 136 <div class="thirdRowFirstColumn" data-offset-x="267" data-offset-y="0" d ata-expected-width="133" data-expected-height="20"></div>
137 <div class="thirdRowSecondColumn" data-offset-x="267" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div> 137 <div class="thirdRowSecondColumn" data-offset-x="267" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div>
138 </div> 138 </div>
139 </div> 139 </div>
140 140
141 <div style="position: relative"> 141 <div style="position: relative">
142 <p>direction: LTR | align-content: 'space-between'</p> 142 <p>direction: LTR | align-content: 'space-between'</p>
143 <div class="grid alignContentSpaceBetween verticalLR" data-expected-width="4 00" data-expected-height="300"> 143 <div class="grid alignContentSpaceBetween verticalLR" data-expected-width="4 00" data-expected-height="300">
144 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" dat a-expected-width="40" data-expected-height="20"></div> 144 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" dat a-expected-width="40" data-expected-height="20"></div>
145 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" d ata-expected-width="40" data-expected-height="20"></div> 145 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" d ata-expected-width="40" data-expected-height="20"></div>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 <div class="thirdRowFirstColumn" data-offset-x="290" data-offset-y="280" data-expected-width="40" data-expected-height="20"></div> 269 <div class="thirdRowFirstColumn" data-offset-x="290" data-offset-y="280" data-expected-width="40" data-expected-height="20"></div>
270 <div class="thirdRowSecondColumn" data-offset-x="290" data-offset-y="260 " data-expected-width="40" data-expected-height="20"></div> 270 <div class="thirdRowSecondColumn" data-offset-x="290" data-offset-y="260 " data-expected-width="40" data-expected-height="20"></div>
271 </div> 271 </div>
272 </div> 272 </div>
273 273
274 <div style="position: relative"> 274 <div style="position: relative">
275 <p>direction: RTL | align-content: 'stretch'</p> 275 <p>direction: RTL | align-content: 'stretch'</p>
276 <div class="grid stretchedGrid alignContentStretch verticalLR directionRTL" data-expected-width="400" data-expected-height="300"> 276 <div class="grid stretchedGrid alignContentStretch verticalLR directionRTL" data-expected-width="400" data-expected-height="300">
277 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="280" d ata-expected-width="133" data-expected-height="20"></div> 277 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="280" d ata-expected-width="133" data-expected-height="20"></div>
278 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div> 278 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div>
279 <div class="secondRowFirstColumn" data-offset-x="133" data-offset-y="280 " data-expected-width="134" data-expected-height="20"></div> 279 <div class="secondRowFirstColumn" data-offset-x="133" data-offset-y="280 " data-expected-width="133" data-expected-height="20"></div>
280 <div class="secondRowSecondColumn" data-offset-x="133" data-offset-y="26 0" data-expected-width="134" data-expected-height="20"></div> 280 <div class="secondRowSecondColumn" data-offset-x="133" data-offset-y="26 0" data-expected-width="133" data-expected-height="20"></div>
281 <div class="thirdRowFirstColumn" data-offset-x="267" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div> 281 <div class="thirdRowFirstColumn" data-offset-x="267" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div>
282 <div class="thirdRowSecondColumn" data-offset-x="267" data-offset-y="260 " data-expected-width="133" data-expected-height="20"></div> 282 <div class="thirdRowSecondColumn" data-offset-x="267" data-offset-y="260 " data-expected-width="133" data-expected-height="20"></div>
283 </div> 283 </div>
284 </div> 284 </div>
285 285
286 <div style="position: relative"> 286 <div style="position: relative">
287 <p>direction: RTL | align-content: 'space-between'</p> 287 <p>direction: RTL | align-content: 'space-between'</p>
288 <div class="grid alignContentSpaceBetween verticalLR directionRTL" data-expe cted-width="400" data-expected-height="300"> 288 <div class="grid alignContentSpaceBetween verticalLR directionRTL" data-expe cted-width="400" data-expected-height="300">
289 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="280" d ata-expected-width="40" data-expected-height="20"></div> 289 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="280" d ata-expected-width="40" data-expected-height="20"></div>
290 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="260" data-expected-width="40" data-expected-height="20"></div> 290 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="260" data-expected-width="40" data-expected-height="20"></div>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="280 " data-expected-width="100" data-expected-height="20"></div> 333 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="280 " data-expected-width="100" data-expected-height="20"></div>
334 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="26 0" data-expected-width="100" data-expected-height="20"></div> 334 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="26 0" data-expected-width="100" data-expected-height="20"></div>
335 <div class="thirdRowFirstColumn" data-offset-x="200" data-offset-y="280" data-expected-width="100" data-expected-height="20"></div> 335 <div class="thirdRowFirstColumn" data-offset-x="200" data-offset-y="280" data-expected-width="100" data-expected-height="20"></div>
336 <div class="thirdRowSecondColumn" data-offset-x="200" data-offset-y="260 " data-expected-width="100" data-expected-height="20"></div> 336 <div class="thirdRowSecondColumn" data-offset-x="200" data-offset-y="260 " data-expected-width="100" data-expected-height="20"></div>
337 <div class="fourthRowFirstColumn" data-offset-x="300" data-offset-y="280 " data-expected-width="100" data-expected-height="20"></div> 337 <div class="fourthRowFirstColumn" data-offset-x="300" data-offset-y="280 " data-expected-width="100" data-expected-height="20"></div>
338 <div class="fourthRowSecondColumn" data-offset-x="300" data-offset-y="26 0" data-expected-width="100" data-expected-height="20"></div> 338 <div class="fourthRowSecondColumn" data-offset-x="300" data-offset-y="26 0" data-expected-width="100" data-expected-height="20"></div>
339 </div> 339 </div>
340 </div> 340 </div>
341 </body> 341 </body>
342 </html> 342 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698