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: 'Border-radius' is set with 'border-style: none'</title>
<meta name="assert" content="'Border-style: none' follows the curve of the border." />
<style type="text/css">
div
{
width: 2in;
height: 2in;
border: none red;
background: black;
border-radius: 80px;
}
</style>
</head>
<body>
<p>Test passes if there is a black box below with rounded corners and no red is visible on the page.</p>
<div></div>
</body>
</html>