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

Side by Side Diff: LayoutTests/fast/css-grid-layout/implicit-position-dynamic-change.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 <style> 4 <style>
9 .gridFixedContent { 5 .gridFixedContent {
10 grid-template-columns: 50px minmax(min-content, 50px) minmax(max-content, 50 px) minmax(50px, min-content); 6 grid-template-columns: 50px minmax(min-content, 50px) minmax(max-content, 50 px) minmax(50px, min-content);
11 grid-template-rows: 70px minmax(max-content, 70px) minmax(50px, min-content) minmax(65px, max-content); 7 grid-template-rows: 70px minmax(max-content, 70px) minmax(50px, min-content) minmax(65px, max-content);
12 } 8 }
13 </style> 9 </style>
14 <script src="../../resources/check-layout.js"></script> 10 <script src="../../resources/check-layout.js"></script>
15 <script> 11 <script>
16 function testPosition(gridElementID, position, size) 12 function testPosition(gridElementID, position, size)
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 <div class="grid gridFixedContent" id="constrainedGridUndefinedHeight"><div class="sizedToGridArea">XXXX XXXX XXXX</div></div> 116 <div class="grid gridFixedContent" id="constrainedGridUndefinedHeight"><div class="sizedToGridArea">XXXX XXXX XXXX</div></div>
121 </div> 117 </div>
122 118
123 <!-- Allow the extra logical space distribution to occur. --> 119 <!-- Allow the extra logical space distribution to occur. -->
124 <div style="width: 1000px; height: 1000px"> 120 <div style="width: 1000px; height: 1000px">
125 <div class="grid gridFixedContent" id="unconstrainedGrid"><div class="sizedT oGridArea">XXXXXX XXXXXX</div></div> 121 <div class="grid gridFixedContent" id="unconstrainedGrid"><div class="sizedT oGridArea">XXXXXX XXXXXX</div></div>
126 </div> 122 </div>
127 123
128 </body> 124 </body>
129 </html> 125 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698