border-radius-not-inherited-001

'Border-radius' is not inherited by default

WeasyPrint

This browser

Assertion
'Border-radius' is not inherited by default.

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' is not inherited by default</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' is not inherited by default." name="assert">
 8         <style type="text/css">
 9             div
10             {
11                 height: 100px;
12                 width: 100px;
13             }
14             #parent
15             {
16                 border: 1px solid transparent;
17                 border-radius: 100px;
18             }
19             #child
20             {
21                 border: medium solid black;
22             }
23             #reference
24             {
25                 margin-top: 10px;
26                 border: medium solid black;
27                 border-radius: 100px;
28             }
29         </style>
30     </head>
31     <body>
32         <p>Test passes if there is a square and a circle below.</p>
33         <div id="parent">
34             <div id="child"></div>
35         </div>
36         <div id="reference"></div>
37     
38 </body></html>