border-radius-style-005.htm (944B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: 'Border-radius' is set with 'border-style: none'</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-style" /> 7 <meta name="assert" content="'Border-style: none' follows the curve of the border." /> 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 </body> 23 </html>