border-bottom-left-radius-013.xht (2143B)
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-bottom-left-radius using two length values: 40pt 2pc</title> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta http-equiv="Content-Style-Type" content="text/css" /> 7 <meta http-equiv="Content-Script-Type" content="text/javascript" /> 8 <link rel="author" title="Nokia" href="http://www.nokia.com/" /> 9 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" /> 10 <meta name="assert" content="To verify border-bottom-left-radius property set to two length values (with different units), works as expected" /> 11 <style type="text/css"> 12 /* <![CDATA[ */ 13 div 14 { 15 border:2px solid #a1a1a1; 16 background:#dddddd; 17 width:200px; 18 height: 100px; 19 border-bottom-left-radius: 40pt 2pc; 20 } 21 /* ]]> */ 22 </style> 23 <!-- 24 <script type="text/javascript" src="js/css3_test_helper.js"></script> 25 --> 26 </head> 27 <body> 28 <p> 29 There should be a box with a rounded bottom left corner. 30 </p> 31 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW --> 32 <ul> 33 <li>PASS if only bottom left corner is rounded.</li> 34 <li>FAIL if the output is not as expected.</li> 35 </ul> 36 37 <!-- PLACE TEST CONTENT FROM HERE --> 38 <div id="test"></div> 39 <p><br/></p> 40 <!-- 41 <script type="text/javascript"> 42 /* <![CDATA[ */ 43 var expectedBorderRadius = "53px 32px"; 44 45 var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius); 46 47 // if (testResult.pass) 48 /* This portion of the code has been removed to ensure that the test case is not automated */ 49 // else 50 /* This portion of the code has been removed to ensure that the test case is not automated */ 51 52 53 54 if (top.FrameEnabled) top.fnLog(testResult); 55 56 /* ]]> */ 57 </script> 58 --> 59 </body> 60 </html> 61