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–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="reference/border-radius-009-ref.htm">
11 <meta name="flags" content="">
12 <meta name="assert" content="To verify inherit feature works, when it is assigned to border-radius">
13 <style type="text/css">
14 /* */
15 body
16 {
17 border-radius: 20% 25px;
18 }
19 div
20 {
21 border:2px solid #a1a1a1;
22 background:#dddddd;
23 width:200px;
24 height: 100px;
25 border-radius: inherit;
26 }
27 #reference
28 {
29 border-top-left-radius: 20%;
30 border-top-right-radius: 25px;
31 border-bottom-right-radius: 20%;
32 border-bottom-left-radius: 25px;
33 }
34 /* */
35 </style>
36 <!--
37 <script type="text/javascript" src="js/css3_test_helper.js"></script>
38 -->
39 </head>
40 <body>
41 <p>
42 There should be two identical boxes, each with 4 rounded corners.
43 </p>
44 <ul>
45 <li>PASS if the two boxes below are the same and all 4 corners are rounded.</li>
46 <li>FAIL if the output is not as expected.</li>
47 </ul>
48
49 <!-- PLACE TEST CONTENT FROM HERE -->
50 <div id="test"></div>
51 <p><br></p>
52 <div id="reference"></div>
53 <!--
54 <script type="text/javascript">
55 /* <![CDATA[ */
56 var borders = new Array("border-top-left-radius", "border-top-right-radius",
57 "border-bottom-right-radius", "border-bottom-left-radius");
58 var expectedValues = new Array("20%", "25px", "20%", "25px");
59 var testResult = check_Multiple_CSS_property(borders, expectedValues);
60 /* if (testResult.pass)
61 // This portion of the code has been removed to ensure that the test case is not automated
62 else {
63 // This portion of the code has been removed to ensure that the test case is not automated
64 } */
65
66 if (top.FrameEnabled) top.fnLog(testResult);
67 /* ]]> */
68 </script>
69 -->
70 </body>
71 </html>