border-bottom-left-radius-003

Borders. Border-bottom-left-radius using two length values: 40px 20px

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
To verify border-bottom-left-radius property set to two length values, 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-left-radius using two length values: 40px 20px</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-left-radius-004.htm">
11         <meta name="flags" content="">
12         <meta name="assert" content="To verify border-bottom-left-radius property set to two length values, 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-left-radius: 40px 20px;
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 left corner.
32 		</p>
33 		 <!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
34 				<ul>
35 					<li>PASS if only bottom left 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 
41     	<div id="test"></div>
42     	<p><br></p>
43 <!--
44     	<script type="text/javascript">
45         /* <![CDATA[ */
46         	var expectedBorderRadius = "40px 20px";
47 
48         	var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
49 
50         	// if (testResult.pass)
51         	  /* This portion of the code has been removed to ensure that the test case is not automated */
52         	// else
53         		/* This portion of the code has been removed to ensure that the test case is not automated */
54 
55 
56 
57           if (top.FrameEnabled)	top.fnLog(testResult);
58 
59         /* ]]> */
60         </script>
61 -->
62     </body>
63 </html>