gecko-dev/layout/reftests/bugs/368622-1.html

22 строки
302 B
HTML

<!DOCTYPE html>
<title>::before { display: inline-block; }</title>
<style>
ul li {
list-style-type: none;
counter-increment: item;
}
ul li::before {
content: counter(item);
display: inline-block;
width: 3em;
}
ul {
margin-left: 3em;
padding-left: 0;
}
</style>
<ul>
<li>Foo
<li>Bar
</ul>