mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_relative_stacking_context_a.html to wpt reftests.
This commit is contained in:
parent
9f2917db51
commit
b1c5cac4ba
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_stacking_context_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_stacking_context_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_contents_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_contents_a.html",
|
||||
|
@ -3084,6 +3096,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_stacking_context_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_stacking_context_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_contents_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_contents_a.html",
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel='match' href='position_relative_stacking_context_ref.html'>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#a {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
background: green;
|
||||
}
|
||||
#b {
|
||||
position: absolute;
|
||||
background: red;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
</style>
|
||||
<div id=a></div>
|
||||
<div id=b></div>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
#a {
|
||||
position: absolute;
|
||||
background: green;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
<div id=a></div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue