border-radius-content-edge-001.htm (949B)
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' set to 'img'</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#border-radius" /> 7 <meta name="assert" content="The content of replaced element 'img' is trimmed to the content edge curve of a rounded corner." /> 8 <style type="text/css"> 9 img 10 { 11 border-radius: 50px; 12 padding: 10px; 13 border: 10px solid black; 14 height: 1in; 15 width: 1in; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if there is no red visible on the page.</p> 21 <img src="../support/black_red.png" /> 22 </body> 23 </html>