summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/tables/border-conflict-w-024.xht
blob: 95bc3d5720948ee85c38e0cc44579211efb3c67b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!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) - solid/dotted</title>
  <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 dotted lime; height: 3em; }
   .c5 { border-width: 10px; border-style: solid; }
   .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">dotted</td><td class="c2">dotted</td><td class="c3">dotted</td>
   </tr>
   <tr>
    <td class="c4">dotted</td><td class="c5">solid</td><td class="c6">dotted</td>
   </tr>
   <tr>
    <td class="c7">dotted</td><td class="c8">dotted</td><td class="c9">dotted</td>
   </tr>
  </table>
 </body>
</html>