mirror of
https://github.com/servo/servo.git
synced 2025-09-06 13:08:21 +01:00
Move position_relative_a.html to wpt reftests.
This commit is contained in:
parent
81321cec19
commit
f2e18093bf
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
18
tests/wpt/mozilla/tests/css/position_relative_a.html
Normal file
18
tests/wpt/mozilla/tests/css/position_relative_a.html
Normal 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>
|
18
tests/wpt/mozilla/tests/css/position_relative_b.html
Normal file
18
tests/wpt/mozilla/tests/css/position_relative_b.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue