t424-hsl-basic-a

hsl()

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
Test basic functioning of hsl() colors.

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: hsl()</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/#hsl-color">
 8 		<link rel="match" href="reference/t424-hsl-basic-a-ref.htm">
 9 		<meta name="flags" content="">
10 		<meta name="assert" content="Test basic functioning of hsl() colors.">
11 		<style type="text/css">
12 		html, body { background: white; }
13 		p { color: hsl(120, 100%, 25%); }
14 		</style>
15 	</head>
16 	<body>
17 		<p>This text should be dark green.</p>
18 	</body>
19 </html>