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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html

Issue 180523004: [CSS Grid Layout] Remove legacy WebKitCSSGridLayoutEnabled flag from the Layout Tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 <script>
4 if (window.testRunner)
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
6 </script>
7 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
8 <script src="../../resources/check-layout.js"></script> 4 <script src="../../resources/check-layout.js"></script>
9 <style> 5 <style>
10 .grid { 6 .grid {
11 grid-template-columns: 50px 100px; 7 grid-template-columns: 50px 100px;
12 grid-template-rows: 50px 100px; 8 grid-template-rows: 50px 100px;
13 } 9 }
14 </style> 10 </style>
15 <script> 11 <script>
16 function testGrid(flow, positionAndSize) 12 function testGrid(flow, positionAndSize)
(...skipping 22 matching lines...) Expand all
39 <body> 35 <body>
40 <div>This test checks that updating the grid's element's grid-auto-flow property recomputes the grid.</div> 36 <div>This test checks that updating the grid's element's grid-auto-flow property recomputes the grid.</div>
41 <div style="position: relative"> 37 <div style="position: relative">
42 <div class="grid"> 38 <div class="grid">
43 <div class="sizedToGridArea autoRowAutoColumn" id="autoItem" data-offset -x="0" data-offset-y="0" data-expected-width="50" data-expected-height="50"></di v> 39 <div class="sizedToGridArea autoRowAutoColumn" id="autoItem" data-offset -x="0" data-offset-y="0" data-expected-width="50" data-expected-height="50"></di v>
44 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data- offset-y="0" data-expected-width="50" data-expected-height="50"></div> 40 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data- offset-y="0" data-expected-width="50" data-expected-height="50"></div>
45 </div> 41 </div>
46 </div> 42 </div>
47 </body> 43 </body>
48 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698