t422-rgba-a0.0-a

rgba() colors

WeasyPrint

This browser

Assertion
Opacity of 0.0 makes text transparent.

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: rgba() colors</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/#rgba-color">
 8 		<meta name="flags" content="">
 9 		<meta name="assert" content="Opacity of 0.0 makes text transparent.">
10 		<style type="text/css">
11 			html, body { background: white; }
12 			#one { color: rgb(0, 0, 0); }
13 			#two { color: rgba(0, 0, 0, 0); }
14 		</style>
15 	</head>
16 	<body>
17 		<p id="one">This should be the only text visible on this page.</p>
18 		<p id="two">This text should NOT be visible.</p>
19 	</body>
20 </html>