mirror of
https://github.com/servo/servo.git
synced 2025-08-28 16:48:22 +01:00
Move negative_margins_a.html to wpt reftests.
This commit is contained in:
parent
06c7ecc04b
commit
30208daf1f
4 changed files with 25 additions and 1 deletions
|
@ -935,6 +935,18 @@
|
|||
"url": "/_mozilla/css/negative_margin_uncle_a.html"
|
||||
}
|
||||
],
|
||||
"css/negative_margins_a.html": [
|
||||
{
|
||||
"path": "css/negative_margins_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/negative_margins_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/negative_margins_a.html"
|
||||
}
|
||||
],
|
||||
"css/no-image.html": [
|
||||
{
|
||||
"path": "css/no-image.html",
|
||||
|
@ -4176,6 +4188,18 @@
|
|||
"url": "/_mozilla/css/negative_margin_uncle_a.html"
|
||||
}
|
||||
],
|
||||
"css/negative_margins_a.html": [
|
||||
{
|
||||
"path": "css/negative_margins_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/negative_margins_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/negative_margins_a.html"
|
||||
}
|
||||
],
|
||||
"css/no-image.html": [
|
||||
{
|
||||
"path": "css/no-image.html",
|
||||
|
|
19
tests/wpt/mozilla/tests/css/negative_margins_a.html
Normal file
19
tests/wpt/mozilla/tests/css/negative_margins_a.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='negative_margins_b.html'>
|
||||
<style>
|
||||
* {
|
||||
line-height: 14px;
|
||||
}
|
||||
#b {
|
||||
margin-top: -14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=a>X</div>
|
||||
<div id=b>X</div>
|
||||
</body>
|
||||
</html>
|
||||
|
24
tests/wpt/mozilla/tests/css/negative_margins_b.html
Normal file
24
tests/wpt/mozilla/tests/css/negative_margins_b.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
* {
|
||||
line-height: 14px;
|
||||
}
|
||||
#a {
|
||||
position: relative;
|
||||
}
|
||||
#b {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=a>X
|
||||
<div id=b>X</div></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue