summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/tables/border-conflict-w-018.xht
blob: 523bd2c9fb882ee539e64cc9d472600a38cae2f7 (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) - double/inset</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 inset lime; height: 3em; }
   .c5 { border-width: 10px; border-style: double; }
   .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">inset</td><td class="c2">inset</td><td class="c3">inset</td>
   </tr>
   <tr>
    <td class="c4">inset</td><td class="c5">double</td><td class="c6">inset</td>
   </tr>
   <tr>
    <td class="c7">inset</td><td class="c8">inset</td><td class="c9">inset</td>
   </tr>
  </table>
 </body>
</html>