Move list_style_position_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-20 10:21:04 +01:00
parent 8b39b9afed
commit 6a2cbfc9d9
5 changed files with 25 additions and 1 deletions

View file

@ -2523,6 +2523,18 @@
"url": "/_mozilla/css/list_style_image_sizing_a.html"
}
],
"css/list_style_position_a.html": [
{
"path": "css/list_style_position_a.html",
"references": [
[
"/_mozilla/css/list_style_position_ref.html",
"=="
]
],
"url": "/_mozilla/css/list_style_position_a.html"
}
],
"css/many_brs_a.html": [
{
"path": "css/many_brs_a.html",
@ -7732,6 +7744,18 @@
"url": "/_mozilla/css/list_style_image_sizing_a.html"
}
],
"css/list_style_position_a.html": [
{
"path": "css/list_style_position_a.html",
"references": [
[
"/_mozilla/css/list_style_position_ref.html",
"=="
]
],
"url": "/_mozilla/css/list_style_position_a.html"
}
],
"css/many_brs_a.html": [
{
"path": "css/many_brs_a.html",

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<!--
Tests that `list-style-position: inside` and `list-style-image` work. This is deliberately
conservative because the exact placement of the marker is unspecified.
-->
<html>
<head>
<link rel=match href=list_style_position_ref.html>
<style>
ul {
margin: 0;
padding: 0;
}
li {
list-style-image: url(smiling.png);
list-style-position: inside;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</body>
</html>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<!--
Tests that `list-style-position: inside` and `list-style-image` work. This is deliberately
conservative because the exact placement of the marker is unspecified.
-->
<html>
<head>
<style>
ul {
margin: 0;
padding: 0;
}
li {
display: block;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<ul>
<li><img src=smiling.png></li>
<li><img src=smiling.png></li>
<li><img src=smiling.png></li>
</ul>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB