Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-item-z-index-stacking-context-expected.html
bloba8de5d0c98b327319425af1da76b28293573b764
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href="resources/grid.css" rel="stylesheet">
5 <style>
6 .grid {
7 grid-template-rows: 100px;
8 grid-template-columns: 200px 200px;
9 width: -webkit-fit-content;
10 margin-top: 10px;
12 .green {
13 background-color: green;
15 </style>
16 </head>
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>
19 <p>For this test to pass, there should be no red below.</p>
21 <div class="grid">
22 <div class="sizedToGridArea green"></div>
23 </div>
25 <div class="grid">
26 <div class="sizedToGridArea green"></div>
27 </div>
29 <div class="grid">
30 <div class="sizedToGridArea green firstRowBothColumn"></div>
31 </div>
33 </body>
34 </html>