border-style-applies-to-026

border-style: hidden applied to table-header-group

WeasyPrint

This browser

Assertion
'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 
 4  <head>
 5 
 6   <title>CSS Test: border-style: hidden applied to table-header-group</title>
 7 
 8   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 9   <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php">
10   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties">
11   <meta content="" name="flags">
12   <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert">
13 
14   <style type="text/css">
15   table
16   {
17   border-collapse: collapse;
18   }
19 
20   thead
21   {
22   border-color: red;
23   border-style: hidden;
24   }
25 
26   td
27   {
28   height: 200px;
29   width: 200px;
30   }
31   </style>
32 
33  </head>
34 
35  <body>
36 
37   <p>There should be <strong>no red</strong>, not even thin red lines.</p>
38 
39   <table>
40 
41    <thead>
42     <tr>
43      <td></td>
44     </tr>
45    </thead>
46 
47    <tbody>
48     <tr>
49      <td></td>
50     </tr>
51    </tbody>
52 
53   </table>
54 
55  </body>
56 </html>