border-radius-003.xht (1656B)
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: Borders. border–radius set to value: 50px 0</title> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 6 <link rel="author" title="Nokia" href="http://www.nokia.com/" /> 7 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" /> 8 <link rel="match" href="border-radius-003-ref.xht" /> 9 <meta name="assert" content="To verify border-radius property set with one length value along with a zero, works as expected" /> 10 <style> 11 div { 12 border: 2px solid #a1a1a1; 13 background: #dddddd; 14 width: 200px; 15 height: 100px; 16 border-radius: 50px 0; 17 } 18 #reference { 19 border-top-left-radius: 50px; 20 border-top-right-radius: 0; 21 border-bottom-right-radius: 50px; 22 border-bottom-left-radius: 0; 23 } 24 </style> 25 </head> 26 <body> 27 <p>There should be two identical boxes, each with rounded corners at the top left and bottom right only.</p> 28 <ul> 29 <li>PASS if the two boxes below are the same and only top left and bottom right corners are rounded.</li> 30 <li>FAIL if the output is not as expected.</li> 31 </ul> 32 33 <!-- PLACE TEST CONTENT FROM HERE --> 34 <div id="test"></div> 35 <p><br/></p> 36 <div id="reference"></div> 37 </body> 38 </html>