servo/tests/wpt/web-platform-tests/css/CSS2/ui/outline-002.xht

24 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Outline: one value with outline-style</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-outline" />
<link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines" />
<meta name="flags" content="" />
<meta name="assert" content="Outline value specified in the form of 'style' is correctly applied." />
<style type="text/css">
#div1
{
outline: dotted;
outline-color: 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>