border-radius-style-001.htm (1138B)
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: dotted'</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-color" /> 7 <meta name="assert" content="'Border-style: dotted' follows the curve of the border." /> 8 <style type="text/css"> 9 div 10 { 11 border: 0.2in dotted; 12 height: 2in; 13 width: 2in; 14 border-radius: 80px; 15 border-top-color: purple; 16 border-right-color: green; 17 border-bottom-color: blue; 18 border-left-color: #808080; 19 } 20 </style> 21 </head> 22 <body> 23 <p>Test passes if there is a rounded border with purple dots on the top, green on the right side, blue on the bottom side, and grey on the left side.</p> 24 <div></div> 25 </body> 26 </html>