summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/t425-hsla-basic-a.xht
blob: 3645a9acedf0e13af91ceff4733e1edd54adab16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>CSS Test: hsla()</title>
		<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
		<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
		<link rel="help" href="http://www.w3.org/TR/css3-color/#hsla-color" />
		<link rel="match" href="t425-hsla-basic-a-ref.html" />
		<meta name="assert" content="Test basic functioning of hsla() colors." />
		<style type="text/css"><![CDATA[
		html, body { background: white; }
		div { width: 600px; height: 30px; margin-bottom: 10px; }
		#one { background-color: hsla(120, 100%, 70%, 1.0); }
		#two { background-color: hsla(120, 100%, 50%, 0.6); }
		]]></style>
	</head>
	<body>
		<p>Test passes if the two boxes below are the same color.</p>
		<div id="one"></div>
		<div id="two"></div>
	</body>
</html>