Move floated_list_item_a.html to wpt reftests.

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

View file

@ -803,6 +803,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/floated_list_item_a.html": [
{
"path": "css/floated_list_item_a.html",
"references": [
[
"/_mozilla/css/floated_list_item_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/focus_selector.html": [
{
"path": "css/focus_selector.html",
@ -4812,6 +4824,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/floated_list_item_a.html": [
{
"path": "css/floated_list_item_a.html",
"references": [
[
"/_mozilla/css/floated_list_item_ref.html",
"=="
]
],
"url": "/_mozilla/css/floated_list_item_a.html"
}
],
"css/focus_selector.html": [
{
"path": "css/focus_selector.html",

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='floated_list_item_ref.html'>
<!-- Tests that list items can be floated. -->
<style>
ul div {
display: list-item;
float: left;
list-style: none;
margin: 0;
}
ul {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<ul>
<div>Foo</div>
<div>Bar</div>
<div>Baz</div>
</ul>
</body>
</html>

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that list items can be floated. -->
<style>
ul div {
float: left;
margin: 0;
}
ul {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<ul>
<div>Foo</div>
<div>Bar</div>
<div>Baz</div>
</ul>
</body>
</html>