Move position_relative_painting_order_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 17:15:40 -04:00
parent b1c5cac4ba
commit 76086aa305
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_relative_painting_order_a.html": [
{
"path": "css/position_relative_painting_order_a.html",
"references": [
[
"/_mozilla/css/position_relative_painting_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/position_relative_painting_order_a.html"
}
],
"css/position_relative_stacking_context_a.html": [
{
"path": "css/position_relative_stacking_context_a.html",
@ -3096,6 +3108,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_relative_painting_order_a.html": [
{
"path": "css/position_relative_painting_order_a.html",
"references": [
[
"/_mozilla/css/position_relative_painting_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/position_relative_painting_order_a.html"
}
],
"css/position_relative_stacking_context_a.html": [
{
"path": "css/position_relative_stacking_context_a.html",

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='position_relative_painting_order_ref.html'>
<style>
html, body {
margin: 0;
}
div {
height: 100px;
width: 100px;
}
#a {
position: relative;
top: 50px;
left: 50px;
background: purple;
}
#b {
background: steelblue;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0;
}
div {
position: absolute;
height: 100px;
width: 100px;
}
#a {
top: 50px;
left: 50px;
background: purple;
}
#b {
background: steelblue;
left: 0;
top: 100px;
}
</style>
</head>
<body>
<div id=b></div>
<div id=a></div>
</body>
</html>