border-radius-001.xht (1326B)
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 zero</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-001-ref.xht" /> 9 <meta name="assert" content="To verify when border-radius property, when set to zero, works as expected." /> 10 <style> 11 div { 12 border: 2px solid #a1a1a1; 13 background: #dddddd; 14 width: 200px; 15 height: 100px; 16 } 17 #test { 18 border-radius: 0; 19 } 20 </style> 21 </head> 22 <body> 23 <p>There should be two boxes with no rounded corners.</p> 24 <ul> 25 <li>PASS if the two boxes below are the same.</li> 26 <li>FAIL if the output is not as expected.</li> 27 </ul> 28 29 <!-- PLACE TEST CONTENT FROM HERE --> 30 <div id="test"></div> 31 <p><br/></p> 32 <div id="reference"></div> 33 </body> 34 </html> 35