border-top-left-radius-values-003.htm (1530B)
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-top-left-radius' with one value as 0.</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-border-radius" /> 7 <meta name="assert" content="If either value of 'border-top-left-radius' is 0 then the corner is a square." /> 8 <style type="text/css"> 9 div 10 { 11 width: 1in; 12 height: 1in; 13 border: 0.2in solid black; 14 margin: 10px; 15 } 16 #reference 17 { 18 } 19 #test1 20 { 21 border-top-left-radius : 0 80px; 22 } 23 #test2 24 { 25 border-top-left-radius : 80px 0; 26 } 27 #test3 28 { 29 border-top-left-radius : 0 0; 30 } 31 </style> 32 </head> 33 <body> 34 <p>Test passes if the four boxes are identical.</p> 35 <table> 36 <tr> 37 <td> 38 <div id="reference"></div> 39 <div id="test1"></div> 40 </td> 41 <td> 42 <div id="test2"></div> 43 <div id="test3"></div> 44 </td> 45 </tr> 46 </table> 47 </body> 48 </html>