[CSS Grid Layout] Properly support for z-index on grid items
[WebKit-https.git] / LayoutTests / fast / css-grid-layout / grid-item-z-index-change-repaint-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href="resources/grid.css" rel="stylesheet">
5 <style>
6 .grid {
7     -webkit-grid-template-rows: 100px;
8     -webkit-grid-template-columns: 200px;
9     margin-top: 10px;
10 }
11 .green {
12     background-color: green;
13 }
14 </style>
15 </head>
16 <body>
17 <div>
18     <p>This test checks that grid items correctly repaint when 'z-index' changes.</p>
19     <p>For this test to pass, there should be no red below.</p>
20 </div>
21
22 <div class="grid">
23     <div class="sizedToGridArea green"></div>
24 </div>
25
26 <div class="grid">
27     <div class="sizedToGridArea green"></div>
28 </div>
29
30 <div class="grid">
31     <div class="sizedToGridArea green"></div>
32 </div>
33
34 </body>
35 </html>