t32-opacity-basic-1.0-a

opacity

WeasyPrint

This browser

Assertion
Opacity of 1.0 makes box fully opaque.

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: opacity</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/#transparency">
 8 		<meta name="flags" content="">
 9 		<meta name="assert" content="Opacity of 1.0 makes box fully opaque.">
10 		<style type="text/css">
11 			#two { opacity: 1.0; }
12 		</style>
13 	</head>
14 	<body>
15 		<p id="one">This text should be the same color as the line below.</p>
16 		<p id="two">This text should be the same color as the line above.</p>
17 	</body>
18 </html>