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: Outline-style applied to element with display block</title>
<meta name="assert" content="The 'outline-style' property applies to elements with a display of block." />
<style type="text/css">
span
{
display: block;
height: 1in;
outline-color: blue;
outline-style: dotted;
outline-width: 10px;
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if the box below has a dotted border.</p>
<div>
<span></span>
</div>
</body>
</html>