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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-element-padding-margin.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 .grid { 5 .grid {
10 grid-template-columns: 100px; 6 grid-template-columns: 100px;
11 grid-template-rows: 50px; 7 grid-template-rows: 50px;
12 /* Force the grid element to be shrink-to-fit. */ 8 /* Force the grid element to be shrink-to-fit. */
13 position: absolute; 9 position: absolute;
14 } 10 }
15 11
16 .padding { 12 .padding {
(...skipping 13 matching lines...) Expand all
30 26
31 <div class="grid padding" data-expected-height="100" data-expected-width="160">< /div> 27 <div class="grid padding" data-expected-height="100" data-expected-width="160">< /div>
32 <div class="grid padding verticalRL" data-expected-height="150" data-expected-wi dth="110"></div> 28 <div class="grid padding verticalRL" data-expected-height="150" data-expected-wi dth="110"></div>
33 <div class="grid border" data-expected-height="90" data-expected-width="160"></d iv> 29 <div class="grid border" data-expected-height="90" data-expected-width="160"></d iv>
34 <div class="grid border verticalRL" data-expected-height="140" data-expected-wid th="110"></div> 30 <div class="grid border verticalRL" data-expected-height="140" data-expected-wid th="110"></div>
35 <div class="grid border padding" data-expected-height="140" data-expected-width= "220"></div> 31 <div class="grid border padding" data-expected-height="140" data-expected-width= "220"></div>
36 <div class="grid border padding verticalRL" data-expected-height="190" data-expe cted-width="170"></div> 32 <div class="grid border padding verticalRL" data-expected-height="190" data-expe cted-width="170"></div>
37 33
38 </body> 34 </body>
39 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698