t423-transparent-2-a

transparent

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
That the 'transparent' color keyword makes colors 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: transparent</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/#transparent">
 8 		<link rel="match" href="reference/t423-transparent-2-a-ref.htm">
 9 		<meta name="flags" content="">
10 		<meta name="assert" content="That the 'transparent' color keyword makes colors transparent.">
11 		<style type="text/css">
12 		html, body { background: black; }
13 		p { color: white; }
14 		#two { color: transparent; }
15 		</style>
16 	</head>
17 	<body>
18 		<p id="one">This should be the only text visible on this page.</p>
19 		<p id="two">This text should NOT be visible.</p>
20 	</body>
21 </html>