Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-pseudo/marker-color.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: ::marker formatting with color property</title>
<link rel="author" title="Daniel Bates" href="mailto:dbates@webkit.org">
<link rel="match" href="marker-color-ref.html">
<meta name="assert" content="Tests ::marker rendering with color property">
<style>
li {
color: red;
font-size: 40px;
list-style-type: square;
}
li::marker {
color: green;
}
</style>
</head>
<body>
<ol>
<li><!-- The list marker should be a green square.--></li>
</ol>
</body>
</html>