1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Borders. Border-bottom-right-radius using "inherit"</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-bottom-right-radius-007.htm">
11 <meta name="flags" content="">
12 –––<meta name="assert" content='To verify if inherit feature works, when assigned to "borderbottomrightradius" property'>
13 <style type="text/css">
14 /* */
15 body
16 {
17 border-bottom-right-radius: 20% 25px;
18 }
19 div
20 {
21 border:2px solid #a1a1a1;
22 background:#dddddd;
23 width:200px;
24 height: 100px;
25 border-bottom-right-radius: inherit;
26 }
27 /* */
28 </style>
29 <!--
30 <script type="text/javascript" src="js/css3_test_helper.js"></script>
31 -->
32 </head>
33 <body>
34 <p>
35 There should be a box with a rounded bottom right corner.
36 </p>
37 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
38 <ul>
39 <li>PASS if only bottom right corner is rounded.</li>
40 <li>FAIL if the output is not as expected.</li>
41 </ul>
42
43 <!-- PLACE TEST CONTENT FROM HERE -->
44 <div id="test"></div>
45 <p><br></p>
46 <!--
47 <script type="text/javascript">
48 /* <![CDATA[ */
49 var expectedBorderRadius = "20% 25px";
50
51 var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
52
53 // if (testResult.pass)
54 /* This portion of the code has been removed to ensure that the test case is not automated */
55 // else
56 /* This portion of the code has been removed to ensure that the test case is not automated */
57
58
59
60 if (top.FrameEnabled) top.fnLog(testResult);
61
62 /* ]]> */
63 </script>
64 -->
65 </body>
66 </html>