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 'content' property</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="match" href="marker-content-016-ref.html">
<meta name="assert" content="Checks that the 'content' property of a ::marker doesn't affect the propagation of text decorations.">
<style>
::marker {
content: "[marker]";
}
ol {
text-decoration: underline;
padding-left: 100px;
}
.inside {
list-style-position: inside;
}
</style>
<ol>
<li class="outside">outside</li>
<li class="inside">inside</li>
</ol>