Move position_abs_replaced_simple_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:18:21 -04:00
parent 00310c1216
commit b1a4ec4492
5 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_abs_replaced_simple_a.html": [
{
"path": "css/position_abs_replaced_simple_a.html",
"references": [
[
"/_mozilla/css/position_abs_replaced_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
}
],
"css/position_abs_width_percentage_a.html": [
{
"path": "css/position_abs_width_percentage_a.html",
@ -3168,6 +3180,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_abs_replaced_simple_a.html": [
{
"path": "css/position_abs_replaced_simple_a.html",
"references": [
[
"/_mozilla/css/position_abs_replaced_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
}
],
"css/position_abs_width_percentage_a.html": [
{
"path": "css/position_abs_width_percentage_a.html",

View file

@ -0,0 +1,26 @@
<html>
<head>
<link rel='match' href='position_abs_replaced_simple_b.html'>
<style>
#first {
position: relative;
width: 90px;
height: 90px;
border: solid 1px;
}
#abs {
position: absolute;
margin: 0px;
top: 30px;
right: 30px;
bottom: 30px;
width: 30px;
}
</style>
</head>
<body>
<div id="first">
<img src="rust_logo.png" width="100" id="abs" alt="Rust Logo" />
</div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<html>
<head>
<style>
#first {
width: 90px;
height: 90px;
border: solid 1px;
}
.row {
width: 90px;
height: 30px;
}
.center {
margin-left: 30px;
height: 30px;
width: 30px;
background: green;
}
</style>
</head>
<body>
<div id="first">
<div class="row">
</div>
<div class="center">
<img src="rust_logo.png" width="30" id="abs" alt="Rust Logo" />
</div>
<div class="row">
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB