Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test: ::marker pseudo elements styled with 'text-align' property</title>
<link rel="author" title="David Shin" href="mailto:dshin@mozilla.com">
<link rel="match" href="marker-text-align-002-ref.html">
<meta name="assert" content="Checks that 'text-align' does not shift the ::marker element.">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
ul {
width: 300px;
border: 1px solid black;
font-family: Ahem;
}
li {
list-style-type: "A";
}
</style>
<ul class="ul">
<li style="text-align: right;">AAA</li>
</ul>
<ul class="ul">
<li style="text-align: end;">AAA</li>
</ul>
<ul class="ul">
<li style="text-align: center;">AAA</li>
</ul>