Move floated_negative_margins_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-05 15:52:11 +01:00
parent c8f0613113
commit 5b35ee09d3
4 changed files with 25 additions and 1 deletions

View file

@ -1439,6 +1439,18 @@
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/floated_negative_margins_a.html": [
{
"path": "css/floated_negative_margins_a.html",
"references": [
[
"/_mozilla/css/floated_negative_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_negative_margins_a.html"
}
],
"css/floated_table_with_margin_a.html": [
{
"path": "css/floated_table_with_margin_a.html",
@ -6288,6 +6300,18 @@
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/floated_negative_margins_a.html": [
{
"path": "css/floated_negative_margins_a.html",
"references": [
[
"/_mozilla/css/floated_negative_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_negative_margins_a.html"
}
],
"css/floated_table_with_margin_a.html": [
{
"path": "css/floated_table_with_margin_a.html",

View file

@ -0,0 +1,17 @@
<link rel=match href=floated_negative_margins_ref.html>
<style>
body {
margin: 0;
padding: 0;
}
#a {
float: left;
margin-left: -64px;
width: 128px;
height: 128px;
background: purple;
}
</style>
<body>
<div id=a></div>Hello

View file

@ -0,0 +1,15 @@
<style>
body {
margin: 0;
padding: 0;
}
#a {
float: left;
width: 64px;
height: 128px;
background: purple;
}
</style>
<body>
<div id=a></div>Hello