Move list_style_image_sizing_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 176ed83609
commit 603dbe377c
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>