Move position_abs_static_y_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:21:28 -04:00
parent b1a4ec4492
commit 903c21708c
4 changed files with 25 additions and 1 deletions

View file

@ -695,6 +695,18 @@
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
}
],
"css/position_abs_static_y_a.html": [
{
"path": "css/position_abs_static_y_a.html",
"references": [
[
"/_mozilla/css/position_abs_static_y_b.html",
"=="
]
],
"url": "/_mozilla/css/position_abs_static_y_a.html"
}
],
"css/position_abs_width_percentage_a.html": [
{
"path": "css/position_abs_width_percentage_a.html",
@ -3192,6 +3204,18 @@
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
}
],
"css/position_abs_static_y_a.html": [
{
"path": "css/position_abs_static_y_a.html",
"references": [
[
"/_mozilla/css/position_abs_static_y_b.html",
"=="
]
],
"url": "/_mozilla/css/position_abs_static_y_a.html"
}
],
"css/position_abs_width_percentage_a.html": [
{
"path": "css/position_abs_width_percentage_a.html",

View file

@ -0,0 +1,32 @@
<html>
<head>
<link rel='match' href='position_abs_static_y_b.html'>
<style>
#first {
position: relative;
width: 90px;
height: 90px;
border: solid 1px;
}
#second {
width: 30px;
height: 30px;
}
#abs {
position: absolute;
left: 30px;
right: 30px;
height: 20px;
background: green;
}
</style>
</head>
<body>
<div id="first">
<div id="second">
</div>
<div id="abs">
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,28 @@
<html>
<head>
<style>
#first {
width: 90px;
height: 90px;
border: solid 1px;
}
.row {
width: 90px;
height: 30px;
}
.center {
margin-left: 30px;
height: 20px;
width: 30px;
background: green;
}
</style>
</head>
<body>
<div id="first">
<div class="row"></div>
<div class="center">
</div>
</div>
</body>
</html>