Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/border-top-right-radius-004.xht - WPT Dashboard Interop Dashboard
<head>
<title>border-top-right-radius using one percentage</title>
<link rel="match" href="border-top-right-radius-004-ref.xht" />
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-top-right-radius: 20%;
}
</style>
</head>
<body>
<p>The box should have a border-top-right-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>