border-style-applies-to-027

border-style: hidden applied to element with display table-header-group

WeasyPrint

This browser

Assertion
'border-style: hidden' must apply to all elements, including elements with display table-header-group. '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 element with display 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 elements with display table-header-group. '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   display: table;
19   }
20 
21   #test
22   {
23   border-color: red;
24   border-style: hidden;
25   display: table-header-group;
26   }
27 
28   #row
29   {
30   display: table-row;
31   }
32 
33   #cell
34   {
35   display: table-cell;
36   height: 200px;
37   width: 200px;
38   }
39   </style>
40 
41  </head>
42 
43  <body>
44 
45   <p>There should be <strong>no red</strong>, not even thin red lines.</p>
46 
47   <div id="table">
48    <div id="test">
49     <div id="row">
50      <div id="cell"></div>
51     </div>
52    </div>
53   </div>
54 
55  </body>
56 </html>