border-radius-applies-to-013

'Border-radius' should be ignored in element with 'display' set to 'table-row-group' when 'border-collapse: collapse'.

WeasyPrint

This browser

Assertion
'Border-radius' should not produce rounded corners when applied to an element with 'display' set to 'table-row-group' when 'border-collapse: collapse'.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html xmlns="http://www.w3.org/1999/xhtml"><head>
 3         <title>CSS Test: 'Border-radius' should be ignored in element with 'display' set to 'table-row-group' when 'border-collapse: collapse'.</title>
 4         <link href="http://www.microsoft.com/" rel="author" title="Microsoft">
 5         <link href="http://www.w3.org/TR/css3-background/#border-radius" rel="help">
 6         <meta content="" name="flags">
 7         <meta content="'Border-radius' should not produce rounded corners when applied to an element with 'display' set to 'table-row-group' when 'border-collapse: collapse'." name="assert">
 8         <style type="text/css">
 9             #test
10             {
11                 border: solid green;
12                 border-radius: 10px;
13                 display: table-row-group;
14             }
15             #table
16             {
17                 border-collapse: collapse;
18                 display: table;
19             }
20             #row
21             {
22                 display: table-row;
23             }
24             #cell
25             {
26                 display: table-cell;
27                 height: 1in;
28                 width: 1in;
29             }
30         </style>
31     </head>
32     <body>
33         <p>Test passes if there is a box with sharp or rounded corners below.</p>
34         <div id="table">
35             <div id="test">
36                 <div id="row">
37                     <div id="cell"></div>
38                 </div>
39             </div>
40         </div>
41     
42 </body></html>