mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_relative_stacking_context_contents_a.html to wpt reftests.
This commit is contained in:
parent
98387ffc7c
commit
9f2917db51
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_contents_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_contents_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_stacking_context_contents_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_stacking_context_contents_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_top_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_top_percentage_a.html",
|
||||
|
@ -3072,6 +3084,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_contents_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_contents_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_stacking_context_contents_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_stacking_context_contents_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_top_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_top_percentage_a.html",
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel='match' href='position_relative_stacking_context_contents_ref.html'>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
aside {
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 12px;
|
||||
z-index: 3; /* force creation of stacking context */
|
||||
background: red;
|
||||
}
|
||||
div {
|
||||
float: left;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<aside><div></div></aside>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
aside {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
<aside></aside>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue