Files
servo/tests/wpt/css-tests/css21_dev/html4/outline-layout-003.htm

23 lines
925 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Outline and border placement</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">
<meta name="flags" content="may">
<meta name="assert" content="Outline may be drawn directly outside of the border.">
<style type="text/css">
div
{
outline: 10px solid green;
border: 10px solid blue;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<p>Test passes if there is a green box below. The green box may be around the blue border, inside the blue border or on top of the blue border.</p>
<div></div>
</body>
</html>