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: two values in the order of 'outline-style outline-color'</title>
<meta name="assert" content="Outline value specified in the form of 'style color' is correctly applied." />
<style type="text/css">
#div1
{
outline: dotted green;
outline-width: 15px;
}
</style>
</head>
<body>
<p>Test passes if there is a dotted outline that goes around the following 'Sample Text' and the "Filler Text" below is overlapped by the outline.</p>
<div id="div1">Sample Text</div>
<div>Filler Text</div>
</body>
</html>