border-radius-004-ref.xht (1105B)
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 reference</title> 5 <link rel="author" title="Nokia" href="http://www.nokia.com/" /> 6 <style> 7 div { 8 border: 2px solid #a1a1a1; 9 background: #dddddd; 10 width: 200px; 11 height: 100px; 12 border-top-left-radius: 50px 25px; 13 border-top-right-radius: 50px 25px; 14 border-bottom-right-radius: 50px 25px; 15 border-bottom-left-radius: 50px 25px; 16 } 17 </style> 18 </head> 19 <body> 20 <p>There should be two identical boxes, each with 4 rounded corners.</p> 21 <ul> 22 <li>PASS if the two boxes below are the same and all 4 corners are rounded.</li> 23 <li>FAIL if the output is not as expected.</li> 24 </ul> 25 26 <div id="test"></div> 27 <p><br/></p> 28 <div id="reference"></div> 29 </body> 30 </html> 31