Move float_under_top_margin_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 3615db8964
commit b687c1c7f9
4 changed files with 25 additions and 1 deletions

View file

@ -875,6 +875,18 @@
"url": "/_mozilla/css/float_table_a.html"
}
],
"css/float_under_top_margin_a.html": [
{
"path": "css/float_under_top_margin_a.html",
"references": [
[
"/_mozilla/css/float_under_top_margin_ref.html",
"=="
]
],
"url": "/_mozilla/css/float_under_top_margin_a.html"
}
],
"css/floated_list_item_a.html": [
{
"path": "css/floated_list_item_a.html",
@ -5004,6 +5016,18 @@
"url": "/_mozilla/css/float_table_a.html"
}
],
"css/float_under_top_margin_a.html": [
{
"path": "css/float_under_top_margin_a.html",
"references": [
[
"/_mozilla/css/float_under_top_margin_ref.html",
"=="
]
],
"url": "/_mozilla/css/float_under_top_margin_a.html"
}
],
"css/floated_list_item_a.html": [
{
"path": "css/floated_list_item_a.html",

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='float_under_top_margin_ref.html'>
<style>
* {
margin: 0;
padding: 0;
}
body {
margin-top: 64px;
}
#foo, #bar {
height: 35px;
width: 35px;
}
#foo {
background: blue;
float: right;
}
#bar {
background: gold;
}
</style>
</head>
<body>
<div id=foo></div><div id=bar></div>
</body>
</html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<style>
* {
margin: 0;
padding: 0;
}
body {
padding-top: 64px;
}
#foo, #bar {
height: 35px;
width: 35px;
}
#foo {
background: blue;
float: right;
}
#bar {
background: gold;
}
</style>
</head>
<body>
<div id=foo></div><div id=bar></div>
</body>
</html>