border-radius-style-005

'Border-radius' is set with 'border-style: none'

WeasyPrint

This browser

Assertion
'Border-style: none' follows the curve of the border.

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 set with 'border-style: none'</title>
 4         <link href="http://www.microsoft.com/" rel="author" title="Microsoft">
 5         <link href="http://www.w3.org/TR/css3-background/#the-border-style" rel="help">
 6         <meta content="" name="flags">
 7         <meta content="'Border-style: none' follows the curve of the border." name="assert">
 8         <style type="text/css">
 9             div
10             {
11                 width: 2in;
12                 height: 2in;
13                 border: none red;
14                 background: black;
15                 border-radius: 80px;
16             }
17         </style>
18     </head>
19     <body>
20         <p>Test passes if there is a black box below with rounded corners and no red is visible on the page.</p>
21         <div></div>
22     
23 </body></html>