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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.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 <head> 3 <head>
4 <link href="resources/grid.css" rel="stylesheet"> 4 <link href="resources/grid.css" rel="stylesheet">
5 <style> 5 <style>
6 .grid { 6 .grid {
7 grid-definition-rows: 100px; 7 grid-template-rows: 100px;
8 grid-definition-columns: 200px 200px; 8 grid-template-columns: 200px 200px;
9 width: -webkit-fit-content; 9 width: -webkit-fit-content;
10 margin-top: 10px; 10 margin-top: 10px;
11 } 11 }
12 .green { 12 .green {
13 background-color: green; 13 background-color: green;
14 } 14 }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body> 17 <body>
18 <p>This test checks that grid items with 'z-index' do produce a stacking context and that we honor the property.</p> 18 <p>This test checks that grid items with 'z-index' do produce a stacking context and that we honor the property.</p>
19 <p>For this test to pass, there should be no red below.</p> 19 <p>For this test to pass, there should be no red below.</p>
20 20
21 <div class="grid"> 21 <div class="grid">
22 <div class="sizedToGridArea green"></div> 22 <div class="sizedToGridArea green"></div>
23 </div> 23 </div>
24 24
25 <div class="grid"> 25 <div class="grid">
26 <div class="sizedToGridArea green"></div> 26 <div class="sizedToGridArea green"></div>
27 </div> 27 </div>
28 28
29 <div class="grid"> 29 <div class="grid">
30 <div class="sizedToGridArea green firstRowBothColumn"></div> 30 <div class="sizedToGridArea green firstRowBothColumn"></div>
31 </div> 31 </div>
32 32
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698