blob: 78ad0230d6ab9aca9dd84e39dddd31e0ab317dd8 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Border Conflict Resolution (by border style): 'outset' vs. 'ridge' - border with highest priority border style should dominate</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
<meta name="flags" content="">
<meta name="assert" content="The 'ridge' border is the dominant border when it is collapsed with an 'outset' border of the same size.">
<style type="text/css">
#table1
{
margin-bottom: 20px;
}
table
{
border-collapse: collapse;
}
td
{
border: 5px outset lime;
height: 3em;
width: 3em;
}
#center, #table1 td
{
border: 5px ridge lime;
}
#top
{
border-top: 5px outset red;
}
#left
{
border-left: 5px outset red;
}
#bottom
{
border-bottom: 5px outset red;
}
#right
{
border-right: 5px outset red;
}
</style>
</head>
<body>
<p>Test passes if the center box in the table below has a border similar to this:</p>
<table id="table1">
<tr>
<td></td>
</tr>
</table>
<table>
<tr>
<td>outset</td>
<td id="bottom">outset</td>
<td>outset</td>
</tr>
<tr>
<td id="right">outset</td>
<td id="center">ridge</td>
<td id="left">outset</td>
</tr>
<tr>
<td>outset</td>
<td id="top">outset</td>
<td>outset</td>
</tr>
</table>
</body>
</html>