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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context-expected.html

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 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="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
4 <link href="resources/grid.css" rel="stylesheet"> 5 <link href="resources/grid.css" rel="stylesheet">
5 <style> 6 <style>
6 .grid { 7 .grid {
7 grid-template-rows: 100px; 8 grid-template-rows: 100px;
8 grid-template-columns: 200px 200px; 9 grid-template-columns: 200px 200px;
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 fit-content">
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 fit-content">
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 fit-content">
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