mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move list_style_position_a.html to wpt reftests.
This commit is contained in:
parent
8b39b9afed
commit
6a2cbfc9d9
5 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
30
tests/wpt/mozilla/tests/css/list_style_position_a.html
Normal file
30
tests/wpt/mozilla/tests/css/list_style_position_a.html
Normal 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>
|
||||
|
28
tests/wpt/mozilla/tests/css/list_style_position_ref.html
Normal file
28
tests/wpt/mozilla/tests/css/list_style_position_ref.html
Normal 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>
|
||||
|
BIN
tests/wpt/mozilla/tests/css/smiling.png
Normal file
BIN
tests/wpt/mozilla/tests/css/smiling.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue