Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Border-style applied to element with display list-item</title>
<link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-24 -->
<meta name="assert" content="The 'border-style' property applies to elements with a display of list-item." />
<style type="text/css">
div
{
border-style: dashed;
display: list-item;
height: 1in;
margin-left: 50px;
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if there is a dashed lined box and a marker bullet on its left-hand side.</p>
<div></div>
</body>
</html>