t44-currentcolor-border-b

currentColor (with 'border-color')

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
currentColor uses the color from the color property

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: currentColor (with 'border-color')</title>
 5 		<link rel="author" title="L. David Baron" href="https://dbaron.org/">
 6 		<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 7 		<link rel="help" href="http://www.w3.org/TR/css3-color/#currentcolor">
 8 		<link rel="match" href="reference/t44-currentcolor-border-b-ref.htm">
 9 		<meta name="flags" content="">
10 		<meta name="assert" content="currentColor uses the color from the color property">
11 		<style type="text/css">
12 		#one {
13 			color: green;
14 			border: medium solid red;
15 			border: medium solid currentColor;
16 		}
17 		#two {
18 			color: green;
19 			border: medium solid red;
20 			border-color: currentcolor;
21 		}
22 		</style>
23 	</head>
24 	<body>
25 		<p id="one">This paragraph should have a green border.</p>
26 		<p id="two">This paragraph should have a green border.</p>
27 	</body>
28 </html>