border-radius-007.xht (1688B)
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 10mm 3pc 15% / 0.5in 25px 10% 70pt</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-007-ref.xht" /> 9 <meta name="assert" content="To verify border-radius property set with values (in different units) using slash, 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 10mm 6pc 15% / 0.5in 25px 30% 70pt; 17 } 18 #reference { 19 border-top-left-radius: 50px 0.5in; 20 border-top-right-radius: 10mm 25px; 21 border-bottom-right-radius: 6pc 30%; 22 border-bottom-left-radius: 15% 70pt; 23 } 24 </style> 25 </head> 26 <body> 27 <p>There should be two identical boxes, each with 4 rounded corners.</p> 28 <ul> 29 <li>PASS if the two boxes below are the same and all 4 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>