Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Content using a 'counter()' function with a list style set to 'circle'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="match" href="content-007-ref.html" />
<meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
<style type="text/css">
div:before
{
content: counter(test, circle);
}
div
{
border: 2px solid black;
height: 30px;
}
</style>
</head>
<body>
<p>Test passes if there is a bullet (&#x25E6;) in the box below.</p>
<div></div>
</body>
</html>