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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-gutters-and-alignment.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 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet"> 2 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
3 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <link href="resources/grid-alignment.css" rel="stylesheet"> 4 <link href="resources/grid-alignment.css" rel="stylesheet">
5 <script src="../../resources/check-layout.js"></script> 5 <script src="../../resources/check-layout.js"></script>
6 <script src="../../resources/js-test.js"></script> 6 <script src="../../resources/js-test.js"></script>
7 <style> 7 <style>
8 body { margin: 0px; } 8 body { margin: 0px; }
9 9
10 .grid100And200 { 10 .grid100And200 {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 </div> 211 </div>
212 </div> 212 </div>
213 213
214 <!-- Check that gutters do not interfere with vertical justify-content computati on. --> 214 <!-- Check that gutters do not interfere with vertical justify-content computati on. -->
215 215
216 <div class="container"> 216 <div class="container">
217 <p>direction: RTL | justify-content: 'stretch'</p> 217 <p>direction: RTL | justify-content: 'stretch'</p>
218 <div class="grid gridAuto20And40 stretchedGrid justifyContentStretch vertica lLR directionRTL gridRowColumnGaps" data-expected-width="400" data-expected-heig ht="300"> 218 <div class="grid gridAuto20And40 stretchedGrid justifyContentStretch vertica lLR directionRTL gridRowColumnGaps" data-expected-width="400" data-expected-heig ht="300">
219 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="241" d ata-expected-width="40" data-expected-height="59"></div> 219 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="241" d ata-expected-width="40" data-expected-height="59"></div>
220 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="161" data-expected-width="40" data-expected-height="59"></div> 220 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="161" data-expected-width="40" data-expected-height="59"></div>
221 <div class="firstRowThirdColumn" data-offset-x="0" data-offset-y="80" da ta-expected-width="40" data-expected-height="60"></div> 221 <div class="firstRowThirdColumn" data-offset-x="0" data-offset-y="80" da ta-expected-width="40" data-expected-height="59"></div>
222 <div class="firstRowFourthColumn" data-offset-x="0" data-offset-y="0" da ta-expected-width="40" data-expected-height="59"></div> 222 <div class="firstRowFourthColumn" data-offset-x="0" data-offset-y="0" da ta-expected-width="40" data-expected-height="59"></div>
223 <div class="secondRowFirstColumn" data-offset-x="57" data-offset-y="241" data-expected-width="40" data-expected-height="59"></div> 223 <div class="secondRowFirstColumn" data-offset-x="57" data-offset-y="241" data-expected-width="40" data-expected-height="59"></div>
224 <div class="secondRowSecondColumn" data-offset-x="57" data-offset-y="161 " data-expected-width="40" data-expected-height="59"></div> 224 <div class="secondRowSecondColumn" data-offset-x="57" data-offset-y="161 " data-expected-width="40" data-expected-height="59"></div>
225 <div class="secondRowThirdColumn" data-offset-x="57" data-offset-y="80" data-expected-width="40" data-expected-height="60"></div> 225 <div class="secondRowThirdColumn" data-offset-x="57" data-offset-y="80" data-expected-width="40" data-expected-height="59"></div>
226 <div class="secondRowFourthColumn" data-offset-x="57" data-offset-y="0" data-expected-width="40" data-expected-height="59"></div> 226 <div class="secondRowFourthColumn" data-offset-x="57" data-offset-y="0" data-expected-width="40" data-expected-height="59"></div>
227 </div> 227 </div>
228 </div> 228 </div>
229 229
230 <div class="container"> 230 <div class="container">
231 <p>direction: LTR | justify-content: 'space-evenly'</p> 231 <p>direction: LTR | justify-content: 'space-evenly'</p>
232 <div class="grid gridAuto20And40 justifyContentSpaceEvenly verticalLR direct ionRTL gridRowColumnGaps" data-expected-width="400" data-expected-height="300"> 232 <div class="grid gridAuto20And40 justifyContentSpaceEvenly verticalLR direct ionRTL gridRowColumnGaps" data-expected-width="400" data-expected-height="300">
233 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="231" d ata-expected-width="40" data-expected-height="20"></div> 233 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="231" d ata-expected-width="40" data-expected-height="20"></div>
234 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="140" data-expected-width="40" data-expected-height="20"></div> 234 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="140" data-expected-width="40" data-expected-height="20"></div>
235 <div class="firstRowThirdColumn" data-offset-x="0" data-offset-y="50" da ta-expected-width="40" data-expected-height="20"></div> 235 <div class="firstRowThirdColumn" data-offset-x="0" data-offset-y="50" da ta-expected-width="40" data-expected-height="20"></div>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 <p>Negative free space. align-content: end</p> 359 <p>Negative free space. align-content: end</p>
360 <div class="grid gridWithAutoRows alignContentEnd gridRowColumnGaps" style=" margin-top: 125px" data-expected-width="24" data-expected-height="54"> 360 <div class="grid gridWithAutoRows alignContentEnd gridRowColumnGaps" style=" margin-top: 125px" data-expected-width="24" data-expected-height="54">
361 <div class="cell firstRowFirstColumn" data-offset-x="0" data-offset-y=" -104" data-expected-width="20" data-expected-height="40"></div> 361 <div class="cell firstRowFirstColumn" data-offset-x="0" data-offset-y=" -104" data-expected-width="20" data-expected-height="40"></div>
362 <div class="cell secondRowFirstColumn" data-offset-x="0" data-offset-y= "-47" data-expected-width="20" data-expected-height="40"></div> 362 <div class="cell secondRowFirstColumn" data-offset-x="0" data-offset-y= "-47" data-expected-width="20" data-expected-height="40"></div>
363 <div class="cell thirdRowFirstColumn" data-offset-x="0" data-offset-y=" 10" data-expected-width="20" data-expected-height="40"></div> 363 <div class="cell thirdRowFirstColumn" data-offset-x="0" data-offset-y=" 10" data-expected-width="20" data-expected-height="40"></div>
364 </div> 364 </div>
365 </div> 365 </div>
366 366
367 367
368 </body> 368 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698