servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1/border-radius-applies-to-009.xht

36 lines
No EOL
1.4 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: 'Border-radius' should be ignored when in element with 'display' set to 'table-row' when 'border-collapse: collapse'.</title>
<link href="http://www.microsoft.com/" rel="author" title="Microsoft" />
<link href="http://www.w3.org/TR/css3-background/#border-radius" rel="help" />
<meta content="" name="flags" />
<meta content="'Border-radius' should be ignored when in element with 'display' set to 'table-row' when 'border-collapse: collapse'." name="assert" />
<style type="text/css">
#test
{
border: solid green;
border-radius: 10px;
display: table-row;
}
#table
{
border-collapse: collapse;
display: table;
}
#cell
{
display: table-cell;
height: 1in;
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if there is a box with sharp or rounded corners below.</p>
<div id="table">
<div id="test">
<div id="cell"></div>
</div>
</div>
</body></html>