Files
servo/tests/wpt/css-tests/css21_dev/xhtml1print/border-conflict-w-062.xht

40 lines
1.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Border Conflict Resolution (width) - outset/solid</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
@top-right { content: "Test border-conflict-w-062"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Lachlan Hunt" href="http://lachy.id.au/about/contact"/>
<style type="text/css"><![CDATA[
table { border-collapse: collapse; }
td { border: 5px solid lime; height: 3em; }
.c5 { border-width: 10px; border-style: outset; }
.c2 { border-bottom-color: red; }
.c6 { border-left-color: red; }
.c8 { border-top-color: red; }
.c4 { border-right-color: red; }
]]></style>
<link title="17.6.2.1 Border conflict resolution" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" rel="help"/>
</head>
<body>
<p>There should be no red borders on the table below</p>
<table>
<tr>
<td class="c1">solid</td><td class="c2">solid</td><td class="c3">solid</td>
</tr>
<tr>
<td class="c4">solid</td><td class="c5">outset</td><td class="c6">solid</td>
</tr>
<tr>
<td class="c7">solid</td><td class="c8">solid</td><td class="c9">solid</td>
</tr>
</table>
</body>
</html>