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">
4 <title>CSS Test: Borders. Border-top-right-radius using two length values: 50px -25px</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 <link rel="match" href="border-radius-001-ref.xht" />
11 <meta name="flags" content=""/>
12 <meta name="assert" content="To verify if one length value is negative for border-top-right-radius, then the element is not rounded."/>
13 <style type="text/css">
17 border:2px solid #a1a1a1;
24 border-top-right-radius: 50px -25px;
29 <script type="text/javascript" src="js/css3_test_helper.js"></script>
34 There should be two boxes with no rounded corners.
36 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
38 <li>PASS if the two boxes below are the same.</li>
39 <li>FAIL if the output is not as expected.</li>
42 <!-- PLACE TEST CONTENT FROM HERE -->
45 <div id="reference"></div>
47 <script type="text/javascript">
49 var expectedBorderRadius = "0px";
51 var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
53 /* if (testResult.pass)
54 // This portion of the code has been removed to ensure that the test case is not automated
56 // This portion of the code has been removed to ensure that the test case is not automated
59 if (top.FrameEnabled) top.fnLog(testResult);