mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move layerization_z_order_a.html to wpt reftests.
This commit is contained in:
parent
6580f8f4c7
commit
5b879ae8c0
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
27
tests/wpt/mozilla/tests/css/layerization_z_order_a.html
Normal file
27
tests/wpt/mozilla/tests/css/layerization_z_order_a.html
Normal 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>
|
||||
|
22
tests/wpt/mozilla/tests/css/layerization_z_order_ref.html
Normal file
22
tests/wpt/mozilla/tests/css/layerization_z_order_ref.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue