mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
bug 1019470 - reftest for list-style-image spacing. r=mats
This commit is contained in:
parent
19605d58ac
commit
92c9e7b15c
41
layout/reftests/list-item/bullet-space-2-ref.html
Normal file
41
layout/reftests/list-item/bullet-space-2-ref.html
Normal 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>
|
35
layout/reftests/list-item/bullet-space-2.html
Normal file
35
layout/reftests/list-item/bullet-space-2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user