border-radius-008.xht (1458B)
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 using slash: 50px 15px 40px 30em 25em / 20px 25px</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 border-radius property set with excess values, 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: 50px 15px 40px 30em 25em / 20px 25px; 19 } 20 </style> 21 </head> 22 <body> 23 <p>There should be two boxes with no rounded corners.</p> 24 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW --> 25 <ul> 26 <li>PASS if the two boxes below are the same.</li> 27 <li>FAIL if the output is not as expected.</li> 28 </ul> 29 30 <!-- PLACE TEST CONTENT FROM HERE --> 31 <div id="test"></div> 32 <p><br/></p> 33 <div id="reference"></div> 34 </body> 35 </html>