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

Side by Side Diff: LayoutTests/fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html

Issue 146773002: [CSS Grid Layout] Rename grid-definition-{columns|rows} to match the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed renaming issues with some tests. Created 6 years, 10 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> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
6 </script> 6 </script>
7 <link href="resources/grid.css" rel="stylesheet"> 7 <link href="resources/grid.css" rel="stylesheet">
8 <style> 8 <style>
9 .grid { 9 .grid {
10 grid-definition-columns: 100px 300px; 10 grid-template-columns: 100px 300px;
11 grid-definition-rows: 50px 150px; 11 grid-template-rows: 50px 150px;
12 height: 200px; 12 height: 200px;
13 width: 400px; 13 width: 400px;
14 } 14 }
15 15
16 .percentPadding { 16 .percentPadding {
17 width: 0px; 17 width: 0px;
18 height: 0px; 18 height: 0px;
19 padding: 50%; 19 padding: 50%;
20 } 20 }
21 21
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 <div class="grid"> 61 <div class="grid">
62 <div class="firstRowFirstColumn percentPadding verticalRL" data-expected-pad ding-top="50" data-expected-padding-right="50" data-expected-padding-bottom="50" data-expected-padding-left="50"></div> 62 <div class="firstRowFirstColumn percentPadding verticalRL" data-expected-pad ding-top="50" data-expected-padding-right="50" data-expected-padding-bottom="50" data-expected-padding-left="50"></div>
63 <div class="firstRowSecondColumn percentMargin" data-expected-margin-top="15 0" data-expected-margin-right="150" data-expected-margin-bottom="150" data-expec ted-margin-left="150"></div> 63 <div class="firstRowSecondColumn percentMargin" data-expected-margin-top="15 0" data-expected-margin-right="150" data-expected-margin-bottom="150" data-expec ted-margin-left="150"></div>
64 <div class="secondRowFirstColumn percentPaddingAndMargin verticalRL" data-ex pected-padding-top="10" data-expected-padding-right="10" data-expected-padding-b ottom="10" data-expected-padding-left="10" data-expected-margin-top="20" data-ex pected-margin-right="20" data-expected-margin-bottom="20" data-expected-margin-l eft="20"></div> 64 <div class="secondRowFirstColumn percentPaddingAndMargin verticalRL" data-ex pected-padding-top="10" data-expected-padding-right="10" data-expected-padding-b ottom="10" data-expected-padding-left="10" data-expected-margin-top="20" data-ex pected-margin-right="20" data-expected-margin-bottom="20" data-expected-margin-l eft="20"></div>
65 <div class="secondRowSecondColumn percentPaddingAndMargin" data-expected-pad ding-top="30" data-expected-padding-right="30" data-expected-padding-bottom="30" data-expected-padding-left="30" data-expected-margin-top="60" data-expected-mar gin-right="60" data-expected-margin-bottom="60" data-expected-margin-left="60">< /div> 65 <div class="secondRowSecondColumn percentPaddingAndMargin" data-expected-pad ding-top="30" data-expected-padding-right="30" data-expected-padding-bottom="30" data-expected-padding-left="30" data-expected-margin-top="60" data-expected-mar gin-right="60" data-expected-margin-bottom="60" data-expected-margin-left="60">< /div>
66 </div> 66 </div>
67 67
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698