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-top-left-radius using two values: 4em 30%</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="flags" content="">
11 <meta name="assert" content="To verify border-top-left-radius property set to two values with different units, works fine">
12 <style type="text/css">
13 /* */
14 div
15 {
16 border:2px solid #a1a1a1;
17 background:#dddddd;
18 width:200px;
19 height: 100px;
20 border-top-left-radius: 4em 30%;
21 }
22 /* */
23 </style>
24 <!--
25 <script type="text/javascript" src="js/css3_test_helper.js"></script>
26 -->
27 </head>
28 <body>
29 <p id="testdetails">
30 </p>
31 <p>
32 There should be a box with a rounded top left corner.</p>
33 <ul>
34 <li>PASS if only top left corner is rounded.</li>
35 <li>FAIL if the output is not as expected.</li>
36 </ul>
37
38
39 <div id="test"></div>
40 <!--
41 <script type="text/javascript">
42 /* <![CDATA[ */
43 var expectedBorderRadius = "64px 30%";
44
45 var testResult = check_CSS_property("border-top-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 if (top.FrameEnabled) top.fnLog(testResult);
54 /* ]]> */
55 </script>
56 -->
57 </body>
58 </html>