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