t31-color-text-a

color

WeasyPrint

Reference (bad) by WeasyPrint

Reference (bad) by this browser

This browser

Assertion
That color sets the color of the text.

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: 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/#foreground">
 8 		<link rel="mismatch" href="reference/t31-color-text-a-ref.htm">
 9 		<meta name="flags" content="">
10 		<meta name="assert" content="That color sets the color of the text.">
11 		<style type="text/css">
12 			#one { color: green; }
13 		</style>
14 	</head>
15 	<body>
16 		<p id="one">This text should be green.</p>
17 	</body>
18 </html>