border-style-applies-to-018

border-style: hidden applied to table-column-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-column-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   colgroup
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    <colgroup></colgroup>
42 
43    <tbody>
44     <tr>
45      <td></td>
46     </tr>
47    </tbody>
48 
49   </table>
50 
51  </body>
52 </html>