border-bottom-right-radius-005

Borders. Border-bottom-right-radius using two percentage value: 20% 30%

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
To verify border-bottom-right-radius property set with two percentage value works as expected

Source

 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 two percentage value: 20% 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         <link rel="match" href="border-bottom-right-radius-006.htm">
11         <meta name="flags" content="">
12         <meta name="assert" content="To verify border-bottom-right-radius property set with two percentage value 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-bottom-right-radius: 20% 30%;
22         	}
23         /*  */
24         </style>
25 <!--
26         <script type="text/javascript" src="js/css3_test_helper.js"></script>
27 -->
28     </head>
29     <body>
30     	<p>
31 			There should be a box with a rounded bottom right corner.
32 		</p>
33 		 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
34 				<ul>
35 					<li>PASS if only bottom right corner is rounded.</li>
36 					<li>FAIL if the output is not as expected.</li>
37 				</ul>
38 
39          <!-- PLACE TEST CONTENT FROM HERE -->
40     	<div id="test"></div>
41     	<p><br></p>
42 <!--
43     	<script type="text/javascript">
44         /* <![CDATA[ */
45         	var expectedBorderRadius = "20% 30%";
46 
47         	var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
48 
49         	// if (testResult.pass)
50         	  /* This portion of the code has been removed to ensure that the test case is not automated */
51         	// else
52         		/* This portion of the code has been removed to ensure that the test case is not automated */
53 
54 
55 
56           if (top.FrameEnabled)	top.fnLog(testResult);
57 
58         /* ]]> */
59         </script>
60 -->
61     </body>
62 </html>