mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Move list_style_image_sizing_a.html to wpt reftests.
This commit is contained in:
parent
176ed83609
commit
603dbe377c
4 changed files with 25 additions and 1 deletions
|
@ -1163,6 +1163,18 @@
|
|||
"url": "/_mozilla/css/link_style_order.html"
|
||||
}
|
||||
],
|
||||
"css/list_style_image_sizing_a.html": [
|
||||
{
|
||||
"path": "css/list_style_image_sizing_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/list_style_image_sizing_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/list_style_image_sizing_a.html"
|
||||
}
|
||||
],
|
||||
"css/many_brs_a.html": [
|
||||
{
|
||||
"path": "css/many_brs_a.html",
|
||||
|
@ -4788,6 +4800,18 @@
|
|||
"url": "/_mozilla/css/link_style_order.html"
|
||||
}
|
||||
],
|
||||
"css/list_style_image_sizing_a.html": [
|
||||
{
|
||||
"path": "css/list_style_image_sizing_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/list_style_image_sizing_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/list_style_image_sizing_a.html"
|
||||
}
|
||||
],
|
||||
"css/many_brs_a.html": [
|
||||
{
|
||||
"path": "css/many_brs_a.html",
|
||||
|
|
38
tests/wpt/mozilla/tests/css/list_style_image_sizing_a.html
Normal file
38
tests/wpt/mozilla/tests/css/list_style_image_sizing_a.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='list_style_image_sizing_ref.html'>
|
||||
<!--
|
||||
Tests that the list style image doesn't get stretched vertically. It should be completely
|
||||
covered up by the black absolutely-positioned div.
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
margin-left: 128px;
|
||||
list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANAQMAAABb8jbLAAAABlBMVEX///8AUow5QSOjAAAAAXRSTlMAQObYZgAAABNJREFUCB1jYEABBQw/wLCAgQEAGpIDyT0IVcsAAAAASUVORK5CYII=);
|
||||
font-size: 256px;
|
||||
font-family: Ahem, monospace;
|
||||
}
|
||||
#coverup {
|
||||
position: absolute;
|
||||
background: black;
|
||||
top: 176px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li>x</li>
|
||||
</ul>
|
||||
<div id=coverup></div>
|
||||
</body>
|
||||
</html>
|
||||
|
37
tests/wpt/mozilla/tests/css/list_style_image_sizing_ref.html
Normal file
37
tests/wpt/mozilla/tests/css/list_style_image_sizing_ref.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
Tests that the list style image doesn't get stretched vertically. It should be completely
|
||||
covered up by the black absolutely-positioned div.
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
margin-left: 128px;
|
||||
list-style-image: none;
|
||||
font-size: 256px;
|
||||
font-family: Ahem, monospace;
|
||||
}
|
||||
#coverup {
|
||||
position: absolute;
|
||||
background: black;
|
||||
top: 176px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ul>
|
||||
<li>x</li>
|
||||
</ul>
|
||||
<div id=coverup></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue