bug 1019470 - reftest for list-style-image spacing. r=mats

This commit is contained in:
Jonathan Kew 2014-06-04 10:18:55 +01:00
parent 19605d58ac
commit 92c9e7b15c
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 1019470</title>
<style>
body {
font-family:monospace;
font-size:24px;
}
span {
display:inline-block;
}
.L {
width:40px;
text-align:right;
}
.R {
width:40px;
text-align:left;
}
.spacer {
width:0.5em;
}
</style>
</head>
<body>
<div>
<span class="L"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"></span><span class="spacer"></span></span>foo
</div>
<div dir="rtl">
<span class="R"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"></span><span class="spacer"></span></span>bar
</div>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug 1019470</title>
<style>
body {
font-family:monospace;
font-size:24px;
}
ul {
margin:0;
list-style-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC");
}
</style>
</head>
<body>
<div>
<ul>
<li>foo</li>
</ul>
</div>
<div dir="rtl">
<ul>
<li>bar</li>
</ul>
</div>
</body>
</html>

View File

@ -6,3 +6,4 @@ asserts(1) == ol-reversed-1b.html ol-reversed-1-ref.html # bug 478135
== ol-reversed-2.html ol-reversed-2-ref.html
== ol-reversed-3.html ol-reversed-3-ref.html
== bullet-space-1.html bullet-space-1-ref.html
== bullet-space-2.html bullet-space-2-ref.html