mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move float_under_top_margin_a.html to wpt reftests.
This commit is contained in:
parent
3615db8964
commit
b687c1c7f9
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
30
tests/wpt/mozilla/tests/css/float_under_top_margin_a.html
Normal file
30
tests/wpt/mozilla/tests/css/float_under_top_margin_a.html
Normal 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>
|
||||
|
29
tests/wpt/mozilla/tests/css/float_under_top_margin_ref.html
Normal file
29
tests/wpt/mozilla/tests/css/float_under_top_margin_ref.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue