Move layerization_z_order_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 20:58:11 -04:00
parent 6580f8f4c7
commit 5b879ae8c0
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/layerization_z_order_a.html": [
{
"path": "css/layerization_z_order_a.html",
"references": [
[
"/_mozilla/css/layerization_z_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/layerization_z_order_a.html"
}
],
"css/nth_child_pseudo_a.html": [
{
"path": "css/nth_child_pseudo_a.html",
@ -3600,6 +3612,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/layerization_z_order_a.html": [
{
"path": "css/layerization_z_order_a.html",
"references": [
[
"/_mozilla/css/layerization_z_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/layerization_z_order_a.html"
}
],
"css/nth_child_pseudo_a.html": [
{
"path": "css/nth_child_pseudo_a.html",

View file

@ -0,0 +1,27 @@
<link rel='match' href='layerization_z_order_ref.html'>
<style>
body, html {
margin: 0;
}
#a, #b {
position: absolute;
width: 100px;
height: 100px;
}
#a {
z-index: 2;
background: red;
}
#b {
top: 50px;
left: 50px;
background: green;
}
#c {
position: fixed;
}
</style>
<div id=a></div>
<div id=b></div>
<div id=c></div>

View file

@ -0,0 +1,22 @@
<style>
body, html {
margin: 0;
}
#a, #b {
position: absolute;
width: 100px;
height: 100px;
}
#a {
z-index: 2;
background: red;
}
#b {
top: 50px;
left: 50px;
background: green;
}
</style>
<div id=a></div>
<div id=b></div>