Files
servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1print/border-radius-shorthand-002.xht

37 lines
1.2 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: Borders Radius Shorthand. </title>
<link href="mailto:arno@arno.org" rel="author" title="Arno" />
<link href="http://www.w3.org/TR/css3-background/#the-border-radius" rel="help" />
<link href="reference/border-radius-shorthand-002-ref.xht" rel="match" />
<meta content="" name="flags" />
<meta content="The shorthand border radius property can be used to specify all four eliptical corners of a box." name="assert" />
<style type="text/css">
/* &lt;![CDATA[ */
div
{
border-radius: 29px 43px 19px 13px / 5px 11px 23px 17px;
background: #dddddd;
width: 200px;
height: 100px;
}
/* ]]&gt; */
</style>
</head>
<body>
<p>
There should be one box, with four rounded corners, each corner a different radius.
</p>
<ul>
<li>PASS if the box below has four rounded corners.</li>
<li>FAIL if the corners are not rounded.</li>
</ul>
<div></div>
</body></html>