Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-item-z-index-stacking-context-expected.html
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;
11 }
12 .green {
13     background-color: green;
14 }
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>
20
21 <div class="grid">
22     <div class="sizedToGridArea green"></div>
23 </div>
24
25 <div class="grid">
26     <div class="sizedToGridArea green"></div>
27 </div>
28
29 <div class="grid">
30     <div class="sizedToGridArea green firstRowBothColumn"></div>
31 </div>
32
33 </body>
34 </html>