Move stacked_layers.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 23:16:20 -04:00
parent d27c262f00
commit 2bb4d4c99f
4 changed files with 25 additions and 1 deletions

View file

@ -591,6 +591,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
"css/stacked_layers.html": [
{
"path": "css/stacked_layers.html",
"references": [
[
"/_mozilla/css/stacked_layers_ref.html",
"=="
]
],
"url": "/_mozilla/css/stacked_layers.html"
}
],
"css/stacking_context_overflow_a.html": [
{
"path": "css/stacking_context_overflow_a.html",
@ -2624,6 +2636,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
"css/stacked_layers.html": [
{
"path": "css/stacked_layers.html",
"references": [
[
"/_mozilla/css/stacked_layers_ref.html",
"=="
]
],
"url": "/_mozilla/css/stacked_layers.html"
}
],
"css/stacking_context_overflow_a.html": [
{
"path": "css/stacking_context_overflow_a.html",

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='stacked_layers_ref.html'>
<style>
.test { float: left; margin-right: 25px; }
.box { height: 50px; width: 50px; }
.gray { background: rgb(200, 200, 200); }
.grayer { background: rgb(80, 80, 80); }
.grayest { background: rgb(0, 0, 0); }
</style>
</head>
<body>
<div class="test grayest box">
<div class="grayer box" style="margin-left: 10px; margin-top: 10px; position: fixed;"></div>
<div class="gray box" style="margin-left: 20px; margin-top: 10px; position: relative; top: 10px; z-index: 5;"> </div>
</div>
<div class="test grayest box">
<div class="grayer box" style="margin-left: 10px; margin-top: 10px; position: fixed;"></div>
<div class="gray box" style="margin-left: 20px; margin-top: 10px; position: absolute; top: 20px; z-index: 5;"> </div>
</div>
</body>
</html>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<style>
.test { float: left; margin-right: 25px; }
.box { height: 50px; width: 50px; }
.gray { background: rgb(200, 200, 200); }
.grayer { background: rgb(80, 80, 80); }
.grayest { background: rgb(0, 0, 0); }
</style>
</head>
<body>
<div class="test grayest box">
<div class="grayer box" style="margin-left: 10px; margin-top: 10px; position: absolute;"></div>
<div class="gray box" style="margin-left: 20px; margin-top: 10px; position: relative; top: 10px; z-index: 5;"></div>
</div>
<div class="test grayest box">
<div class="grayer box" style="margin-left: 10px; margin-top: 10px; position: absolute;"></div>
<div class="gray box" style="margin-left: 20px; margin-top: 10px; position: absolute; top: 20px; z-index: 5;"></div>
</div>
</body>
</html>