blob: bda0fc0918f5f072a91ed4e30e2dedf1e6987893 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
-webkit-grid-template-rows: 100px;
-webkit-grid-template-columns: 200px 200px;
margin-top: 10px;
}
.green {
background-color: green;
}
</style>
</head>
<body>
<p>This test checks that grid items with 'z-index' do produce a stacking context and that we honor the property.</p>
<p>For this test to pass, there should be no red below.</p>
<div class="grid">
<div class="sizedToGridArea green"></div>
</div>
<div class="grid">
<div class="sizedToGridArea green"></div>
</div>
<div class="grid">
<div class="sizedToGridArea green firstRowBothColumn"></div>
</div>
</body>
</html>