Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-lists/marker-quotes.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists test: use of `quotes` in ::marker</title>
<meta name="assert" content="the quotes property is supported in ::marker">
<link rel="author" href="mailto:jkew@mozilla.com">
<link rel="match" href="marker-quotes-ref.html">
<style>
ol {
quotes: "\2018" "\2019";
}
::marker {
content: open-quote counter(list-item) close-quote " ";
}
:nth-child(2)::marker {
quotes: "«" "»";
}
:nth-child(3)::marker {
quotes: "‹" "›";
}
</style>
<ol>
<li>one
<li>two
<li>three
</ol>