Move position_relative_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:12:20 -04:00
parent 81321cec19
commit f2e18093bf
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_relative_a.html": [
{
"path": "css/position_relative_a.html",
"references": [
[
"/_mozilla/css/position_relative_b.html",
"=="
]
],
"url": "/_mozilla/css/position_relative_a.html"
}
],
"css/position_relative_inline_block_a.html": [
{
"path": "css/position_relative_inline_block_a.html",
@ -3120,6 +3132,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/position_relative_a.html": [
{
"path": "css/position_relative_a.html",
"references": [
[
"/_mozilla/css/position_relative_b.html",
"=="
]
],
"url": "/_mozilla/css/position_relative_a.html"
}
],
"css/position_relative_inline_block_a.html": [
{
"path": "css/position_relative_inline_block_a.html",

View file

@ -0,0 +1,18 @@
<html>
<head>
<link rel='match' href='position_relative_b.html'>
<title>
today, weather is very cold.....
</title>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<div style="width:500px;height:200px;position:relative;left:100px;top:100px" >
<img src="test.jpeg" style="width:100px;height:100px;"/><span style="position:relative;left:-200px;top:-100px"><img src="test.jpeg" style="position:relative;left:100px;top:100px;width:100px;height:100px"/></span></div>
</body>
</html>

View file

@ -0,0 +1,18 @@
<html>
<head>
<title>
today, weather is very cold.....
</title>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<div style="width:500px;height:200px;margin-left:100px;margin-top:100px" >
<img src="test.jpeg" style="width:100px;height:100px;"/>
</div>
</body>
</html>