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