t425-hsla-values-b

hsla() values

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
Implementation of algorithm for converting hsla() colors to rgba() 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: hsla() values</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/#hsla-color">
  8 		<link rel="match" href="reference/t425-hsla-values-b-ref.htm">
  9 		<meta name="flags" content="">
 10 		<meta name="assert" content="Implementation of algorithm for converting hsla() colors to rgba() colors.">
 11 		<style type="text/css">
 12 			table { border-spacing: 0; padding: 0; border: none; }
 13 			td { border: none; padding: 0; }
 14 			td { width: 1.2em; height: 1.2em; }
 15 		</style>
 16 	</head>
 17 	<body>
 18 
 19 		<p>The following table should have three matching rows changing (in 5 steps) from red at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
 20 
 21 		<div style="background: black">
 22 		<table border="border">
 23 			<tr>
 24 				<td style="background: black">&nbsp;</td>
 25 				<td style="background: hsla(0, 100%, 50%, 1)">&nbsp;</td>
 26 				<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
 27 				<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
 28 				<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
 29 				<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
 30 				<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
 31 				<td style="background: white">&nbsp;</td>
 32 			</tr>
 33 			<tr>
 34 				<td style="background: white">&nbsp;</td>
 35 				<td style="background: hsla(0, 100%, 50%, 1.0)">&nbsp;</td>
 36 				<td style="background: hsla(0, 100%, 40%, 1.0)">&nbsp;</td>
 37 				<td style="background: hsla(0, 100%, 30%, 1.0)">&nbsp;</td>
 38 				<td style="background: hsla(0, 100%, 20%, 1.0)">&nbsp;</td>
 39 				<td style="background: hsla(0, 100%, 10%, 1.0)">&nbsp;</td>
 40 				<td style="background: hsla(0, 100%, 0%, 1.0)">&nbsp;</td>
 41 				<td style="background: black">&nbsp;</td>
 42 			</tr>
 43 			<tr>
 44 				<td style="background: black">&nbsp;</td>
 45 				<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
 46 				<td style="background: rgb(80%, 0%, 0%)">&nbsp;</td>
 47 				<td style="background: rgb(60%, 0%, 0%)">&nbsp;</td>
 48 				<td style="background: rgb(40%, 0%, 0%)">&nbsp;</td>
 49 				<td style="background: rgb(20%, 0%, 0%)">&nbsp;</td>
 50 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
 51 				<td style="background: white">&nbsp;</td>
 52 			</tr>
 53 		</table>
 54 		</div>
 55 
 56 		<p>The following table should have three matching rows changing (in 5 steps) from red at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
 57 
 58 		<div style="background: white">
 59 		<table border="border">
 60 			<tr>
 61 				<td style="background: white">&nbsp;</td>
 62 				<td style="background: hsla(0, 100%, 50%, 1)">&nbsp;</td>
 63 				<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
 64 				<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
 65 				<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
 66 				<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
 67 				<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
 68 				<td style="background: black">&nbsp;</td>
 69 			</tr>
 70 			<tr>
 71 				<td style="background: black">&nbsp;</td>
 72 				<td style="background: hsla(0, 100%, 50%, 1.0)">&nbsp;</td>
 73 				<td style="background: hsla(0, 100%, 60%, 1.0)">&nbsp;</td>
 74 				<td style="background: hsla(0, 100%, 70%, 1.0)">&nbsp;</td>
 75 				<td style="background: hsla(0, 100%, 80%, 1.0)">&nbsp;</td>
 76 				<td style="background: hsla(0, 100%, 90%, 1.0)">&nbsp;</td>
 77 				<td style="background: hsla(0, 100%, 100%, 1.0)">&nbsp;</td>
 78 				<td style="background: white">&nbsp;</td>
 79 			</tr>
 80 			<tr>
 81 				<td style="background: white">&nbsp;</td>
 82 				<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
 83 				<td style="background: rgb(100%, 20%, 20%)">&nbsp;</td>
 84 				<td style="background: rgb(100%, 40%, 40%)">&nbsp;</td>
 85 				<td style="background: rgb(100%, 60%, 60%)">&nbsp;</td>
 86 				<td style="background: rgb(100%, 80%, 80%)">&nbsp;</td>
 87 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
 88 				<td style="background: black">&nbsp;</td>
 89 			</tr>
 90 		</table>
 91 		</div>
 92 
 93 		<p>The following table should have three matching rows changing (in 5 steps) from yellow at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
 94 
 95 		<div style="background: black">
 96 		<table border="border">
 97 			<tr>
 98 				<td style="background: black">&nbsp;</td>
 99 				<td style="background: hsla(60, 100%, 50%, 1)">&nbsp;</td>
100 				<td style="background: hsla(60, 100%, 50%, 0.8)">&nbsp;</td>
101 				<td style="background: hsla(60, 100%, 50%, 0.6)">&nbsp;</td>
102 				<td style="background: hsla(60, 100%, 50%, 0.4)">&nbsp;</td>
103 				<td style="background: hsla(60, 100%, 50%, 0.2)">&nbsp;</td>
104 				<td style="background: hsla(60, 100%, 50%, 0)">&nbsp;</td>
105 				<td style="background: white">&nbsp;</td>
106 			</tr>
107 			<tr>
108 				<td style="background: white">&nbsp;</td>
109 				<td style="background: hsla(60, 100%, 50%, 1.0)">&nbsp;</td>
110 				<td style="background: hsla(60, 100%, 40%, 1.0)">&nbsp;</td>
111 				<td style="background: hsla(60, 100%, 30%, 1.0)">&nbsp;</td>
112 				<td style="background: hsla(60, 100%, 20%, 1.0)">&nbsp;</td>
113 				<td style="background: hsla(60, 100%, 10%, 1.0)">&nbsp;</td>
114 				<td style="background: hsla(60, 100%, 0%, 1.0)">&nbsp;</td>
115 				<td style="background: black">&nbsp;</td>
116 			</tr>
117 			<tr>
118 				<td style="background: black">&nbsp;</td>
119 				<td style="background: rgb(100%, 100%, 0%)">&nbsp;</td>
120 				<td style="background: rgb(80%, 80%, 0%)">&nbsp;</td>
121 				<td style="background: rgb(60%, 60%, 0%)">&nbsp;</td>
122 				<td style="background: rgb(40%, 40%, 0%)">&nbsp;</td>
123 				<td style="background: rgb(20%, 20%, 0%)">&nbsp;</td>
124 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
125 				<td style="background: white">&nbsp;</td>
126 			</tr>
127 		</table>
128 		</div>
129 
130 		<p>The following table should have three matching rows changing (in 5 steps) from yellow at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
131 
132 		<div style="background: white">
133 		<table border="border">
134 			<tr>
135 				<td style="background: white">&nbsp;</td>
136 				<td style="background: hsla(60, 100%, 50%, 1)">&nbsp;</td>
137 				<td style="background: hsla(60, 100%, 50%, 0.8)">&nbsp;</td>
138 				<td style="background: hsla(60, 100%, 50%, 0.6)">&nbsp;</td>
139 				<td style="background: hsla(60, 100%, 50%, 0.4)">&nbsp;</td>
140 				<td style="background: hsla(60, 100%, 50%, 0.2)">&nbsp;</td>
141 				<td style="background: hsla(60, 100%, 50%, 0)">&nbsp;</td>
142 				<td style="background: black">&nbsp;</td>
143 			</tr>
144 			<tr>
145 				<td style="background: black">&nbsp;</td>
146 				<td style="background: hsla(60, 100%, 50%, 1.0)">&nbsp;</td>
147 				<td style="background: hsla(60, 100%, 60%, 1.0)">&nbsp;</td>
148 				<td style="background: hsla(60, 100%, 70%, 1.0)">&nbsp;</td>
149 				<td style="background: hsla(60, 100%, 80%, 1.0)">&nbsp;</td>
150 				<td style="background: hsla(60, 100%, 90%, 1.0)">&nbsp;</td>
151 				<td style="background: hsla(60, 100%, 100%, 1.0)">&nbsp;</td>
152 				<td style="background: white">&nbsp;</td>
153 			</tr>
154 			<tr>
155 				<td style="background: white">&nbsp;</td>
156 				<td style="background: rgb(100%, 100%, 0%)">&nbsp;</td>
157 				<td style="background: rgb(100%, 100%, 20%)">&nbsp;</td>
158 				<td style="background: rgb(100%, 100%, 40%)">&nbsp;</td>
159 				<td style="background: rgb(100%, 100%, 60%)">&nbsp;</td>
160 				<td style="background: rgb(100%, 100%, 80%)">&nbsp;</td>
161 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
162 				<td style="background: black">&nbsp;</td>
163 			</tr>
164 		</table>
165 		</div>
166 
167 		<p>The following table should have three matching rows changing (in 5 steps) from green at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
168 
169 		<div style="background: black">
170 		<table border="border">
171 			<tr>
172 				<td style="background: black">&nbsp;</td>
173 				<td style="background: hsla(120, 100%, 50%, 1)">&nbsp;</td>
174 				<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
175 				<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
176 				<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
177 				<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
178 				<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
179 				<td style="background: white">&nbsp;</td>
180 			</tr>
181 			<tr>
182 				<td style="background: white">&nbsp;</td>
183 				<td style="background: hsla(120, 100%, 50%, 1.0)">&nbsp;</td>
184 				<td style="background: hsla(120, 100%, 40%, 1.0)">&nbsp;</td>
185 				<td style="background: hsla(120, 100%, 30%, 1.0)">&nbsp;</td>
186 				<td style="background: hsla(120, 100%, 20%, 1.0)">&nbsp;</td>
187 				<td style="background: hsla(120, 100%, 10%, 1.0)">&nbsp;</td>
188 				<td style="background: hsla(120, 100%, 0%, 1.0)">&nbsp;</td>
189 				<td style="background: black">&nbsp;</td>
190 			</tr>
191 			<tr>
192 				<td style="background: black">&nbsp;</td>
193 				<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
194 				<td style="background: rgb(0%, 80%, 0%)">&nbsp;</td>
195 				<td style="background: rgb(0%, 60%, 0%)">&nbsp;</td>
196 				<td style="background: rgb(0%, 40%, 0%)">&nbsp;</td>
197 				<td style="background: rgb(0%, 20%, 0%)">&nbsp;</td>
198 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
199 				<td style="background: white">&nbsp;</td>
200 			</tr>
201 		</table>
202 		</div>
203 
204 		<p>The following table should have three matching rows changing (in 5 steps) from green at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
205 
206 		<div style="background: white">
207 		<table border="border">
208 			<tr>
209 				<td style="background: white">&nbsp;</td>
210 				<td style="background: hsla(120, 100%, 50%, 1)">&nbsp;</td>
211 				<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
212 				<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
213 				<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
214 				<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
215 				<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
216 				<td style="background: black">&nbsp;</td>
217 			</tr>
218 			<tr>
219 				<td style="background: black">&nbsp;</td>
220 				<td style="background: hsla(120, 100%, 50%, 1.0)">&nbsp;</td>
221 				<td style="background: hsla(120, 100%, 60%, 1.0)">&nbsp;</td>
222 				<td style="background: hsla(120, 100%, 70%, 1.0)">&nbsp;</td>
223 				<td style="background: hsla(120, 100%, 80%, 1.0)">&nbsp;</td>
224 				<td style="background: hsla(120, 100%, 90%, 1.0)">&nbsp;</td>
225 				<td style="background: hsla(120, 100%, 100%, 1.0)">&nbsp;</td>
226 				<td style="background: white">&nbsp;</td>
227 			</tr>
228 			<tr>
229 				<td style="background: white">&nbsp;</td>
230 				<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
231 				<td style="background: rgb(20%, 100%, 20%)">&nbsp;</td>
232 				<td style="background: rgb(40%, 100%, 40%)">&nbsp;</td>
233 				<td style="background: rgb(60%, 100%, 60%)">&nbsp;</td>
234 				<td style="background: rgb(80%, 100%, 80%)">&nbsp;</td>
235 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
236 				<td style="background: black">&nbsp;</td>
237 			</tr>
238 		</table>
239 		</div>
240 
241 		<p>The following table should have three matching rows changing (in 5 steps) from aqua at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
242 
243 		<div style="background: black">
244 		<table border="border">
245 			<tr>
246 				<td style="background: black">&nbsp;</td>
247 				<td style="background: hsla(180, 100%, 50%, 1)">&nbsp;</td>
248 				<td style="background: hsla(180, 100%, 50%, 0.8)">&nbsp;</td>
249 				<td style="background: hsla(180, 100%, 50%, 0.6)">&nbsp;</td>
250 				<td style="background: hsla(180, 100%, 50%, 0.4)">&nbsp;</td>
251 				<td style="background: hsla(180, 100%, 50%, 0.2)">&nbsp;</td>
252 				<td style="background: hsla(180, 100%, 50%, 0)">&nbsp;</td>
253 				<td style="background: white">&nbsp;</td>
254 			</tr>
255 			<tr>
256 				<td style="background: white">&nbsp;</td>
257 				<td style="background: hsla(180, 100%, 50%, 1.0)">&nbsp;</td>
258 				<td style="background: hsla(180, 100%, 40%, 1.0)">&nbsp;</td>
259 				<td style="background: hsla(180, 100%, 30%, 1.0)">&nbsp;</td>
260 				<td style="background: hsla(180, 100%, 20%, 1.0)">&nbsp;</td>
261 				<td style="background: hsla(180, 100%, 10%, 1.0)">&nbsp;</td>
262 				<td style="background: hsla(180, 100%, 0%, 1.0)">&nbsp;</td>
263 				<td style="background: black">&nbsp;</td>
264 			</tr>
265 			<tr>
266 				<td style="background: black">&nbsp;</td>
267 				<td style="background: rgb(0%, 100%, 100%)">&nbsp;</td>
268 				<td style="background: rgb(0%, 80%, 80%)">&nbsp;</td>
269 				<td style="background: rgb(0%, 60%, 60%)">&nbsp;</td>
270 				<td style="background: rgb(0%, 40%, 40%)">&nbsp;</td>
271 				<td style="background: rgb(0%, 20%, 20%)">&nbsp;</td>
272 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
273 				<td style="background: white">&nbsp;</td>
274 			</tr>
275 		</table>
276 		</div>
277 
278 		<p>The following table should have three matching rows changing (in 5 steps) from aqua at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
279 
280 		<div style="background: white">
281 		<table border="border">
282 			<tr>
283 				<td style="background: white">&nbsp;</td>
284 				<td style="background: hsla(180, 100%, 50%, 1)">&nbsp;</td>
285 				<td style="background: hsla(180, 100%, 50%, 0.8)">&nbsp;</td>
286 				<td style="background: hsla(180, 100%, 50%, 0.6)">&nbsp;</td>
287 				<td style="background: hsla(180, 100%, 50%, 0.4)">&nbsp;</td>
288 				<td style="background: hsla(180, 100%, 50%, 0.2)">&nbsp;</td>
289 				<td style="background: hsla(180, 100%, 50%, 0)">&nbsp;</td>
290 				<td style="background: black">&nbsp;</td>
291 			</tr>
292 			<tr>
293 				<td style="background: black">&nbsp;</td>
294 				<td style="background: hsla(180, 100%, 50%, 1.0)">&nbsp;</td>
295 				<td style="background: hsla(180, 100%, 60%, 1.0)">&nbsp;</td>
296 				<td style="background: hsla(180, 100%, 70%, 1.0)">&nbsp;</td>
297 				<td style="background: hsla(180, 100%, 80%, 1.0)">&nbsp;</td>
298 				<td style="background: hsla(180, 100%, 90%, 1.0)">&nbsp;</td>
299 				<td style="background: hsla(180, 100%, 100%, 1.0)">&nbsp;</td>
300 				<td style="background: white">&nbsp;</td>
301 			</tr>
302 			<tr>
303 				<td style="background: white">&nbsp;</td>
304 				<td style="background: rgb(0%, 100%, 100%)">&nbsp;</td>
305 				<td style="background: rgb(20%, 100%, 100%)">&nbsp;</td>
306 				<td style="background: rgb(40%, 100%, 100%)">&nbsp;</td>
307 				<td style="background: rgb(60%, 100%, 100%)">&nbsp;</td>
308 				<td style="background: rgb(80%, 100%, 100%)">&nbsp;</td>
309 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
310 				<td style="background: black">&nbsp;</td>
311 			</tr>
312 		</table>
313 		</div>
314 
315 		<p>The following table should have three matching rows changing (in 5 steps) from blue at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
316 
317 		<div style="background: black">
318 		<table border="border">
319 			<tr>
320 				<td style="background: black">&nbsp;</td>
321 				<td style="background: hsla(240, 100%, 50%, 1)">&nbsp;</td>
322 				<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
323 				<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
324 				<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
325 				<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
326 				<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
327 				<td style="background: white">&nbsp;</td>
328 			</tr>
329 			<tr>
330 				<td style="background: white">&nbsp;</td>
331 				<td style="background: hsla(240, 100%, 50%, 1.0)">&nbsp;</td>
332 				<td style="background: hsla(240, 100%, 40%, 1.0)">&nbsp;</td>
333 				<td style="background: hsla(240, 100%, 30%, 1.0)">&nbsp;</td>
334 				<td style="background: hsla(240, 100%, 20%, 1.0)">&nbsp;</td>
335 				<td style="background: hsla(240, 100%, 10%, 1.0)">&nbsp;</td>
336 				<td style="background: hsla(240, 100%, 0%, 1.0)">&nbsp;</td>
337 				<td style="background: black">&nbsp;</td>
338 			</tr>
339 			<tr>
340 				<td style="background: black">&nbsp;</td>
341 				<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
342 				<td style="background: rgb(0%, 0%, 80%)">&nbsp;</td>
343 				<td style="background: rgb(0%, 0%, 60%)">&nbsp;</td>
344 				<td style="background: rgb(0%, 0%, 40%)">&nbsp;</td>
345 				<td style="background: rgb(0%, 0%, 20%)">&nbsp;</td>
346 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
347 				<td style="background: white">&nbsp;</td>
348 			</tr>
349 		</table>
350 		</div>
351 
352 		<p>The following table should have three matching rows changing (in 5 steps) from blue at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
353 
354 		<div style="background: white">
355 		<table border="border">
356 			<tr>
357 				<td style="background: white">&nbsp;</td>
358 				<td style="background: hsla(240, 100%, 50%, 1)">&nbsp;</td>
359 				<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
360 				<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
361 				<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
362 				<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
363 				<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
364 				<td style="background: black">&nbsp;</td>
365 			</tr>
366 			<tr>
367 				<td style="background: black">&nbsp;</td>
368 				<td style="background: hsla(240, 100%, 50%, 1.0)">&nbsp;</td>
369 				<td style="background: hsla(240, 100%, 60%, 1.0)">&nbsp;</td>
370 				<td style="background: hsla(240, 100%, 70%, 1.0)">&nbsp;</td>
371 				<td style="background: hsla(240, 100%, 80%, 1.0)">&nbsp;</td>
372 				<td style="background: hsla(240, 100%, 90%, 1.0)">&nbsp;</td>
373 				<td style="background: hsla(240, 100%, 100%, 1.0)">&nbsp;</td>
374 				<td style="background: white">&nbsp;</td>
375 			</tr>
376 			<tr>
377 				<td style="background: white">&nbsp;</td>
378 				<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
379 				<td style="background: rgb(20%, 20%, 100%)">&nbsp;</td>
380 				<td style="background: rgb(40%, 40%, 100%)">&nbsp;</td>
381 				<td style="background: rgb(60%, 60%, 100%)">&nbsp;</td>
382 				<td style="background: rgb(80%, 80%, 100%)">&nbsp;</td>
383 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
384 				<td style="background: black">&nbsp;</td>
385 			</tr>
386 		</table>
387 		</div>
388 
389 		<p>The following table should have three matching rows changing (in 5 steps) from fuchsia at the left to black at the right (plus a checkerboard at both ends to show where the rows are):</p>
390 
391 		<div style="background: black">
392 		<table border="border">
393 			<tr>
394 				<td style="background: black">&nbsp;</td>
395 				<td style="background: hsla(300, 100%, 50%, 1)">&nbsp;</td>
396 				<td style="background: hsla(300, 100%, 50%, 0.8)">&nbsp;</td>
397 				<td style="background: hsla(300, 100%, 50%, 0.6)">&nbsp;</td>
398 				<td style="background: hsla(300, 100%, 50%, 0.4)">&nbsp;</td>
399 				<td style="background: hsla(300, 100%, 50%, 0.2)">&nbsp;</td>
400 				<td style="background: hsla(300, 100%, 50%, 0)">&nbsp;</td>
401 				<td style="background: white">&nbsp;</td>
402 			</tr>
403 			<tr>
404 				<td style="background: white">&nbsp;</td>
405 				<td style="background: hsla(300, 100%, 50%, 1.0)">&nbsp;</td>
406 				<td style="background: hsla(300, 100%, 40%, 1.0)">&nbsp;</td>
407 				<td style="background: hsla(300, 100%, 30%, 1.0)">&nbsp;</td>
408 				<td style="background: hsla(300, 100%, 20%, 1.0)">&nbsp;</td>
409 				<td style="background: hsla(300, 100%, 10%, 1.0)">&nbsp;</td>
410 				<td style="background: hsla(300, 100%, 0%, 1.0)">&nbsp;</td>
411 				<td style="background: black">&nbsp;</td>
412 			</tr>
413 			<tr>
414 				<td style="background: black">&nbsp;</td>
415 				<td style="background: rgb(100%, 0%, 100%)">&nbsp;</td>
416 				<td style="background: rgb(80%, 0%, 80%)">&nbsp;</td>
417 				<td style="background: rgb(60%, 0%, 60%)">&nbsp;</td>
418 				<td style="background: rgb(40%, 0%, 40%)">&nbsp;</td>
419 				<td style="background: rgb(20%, 0%, 20%)">&nbsp;</td>
420 				<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
421 				<td style="background: white">&nbsp;</td>
422 			</tr>
423 		</table>
424 		</div>
425 
426 		<p>The following table should have three matching rows changing (in 5 steps) from fuchsia at the left to white at the right (plus a checkerboard at both ends to show where the rows are):</p>
427 
428 		<div style="background: white">
429 		<table border="border">
430 			<tr>
431 				<td style="background: white">&nbsp;</td>
432 				<td style="background: hsla(300, 100%, 50%, 1)">&nbsp;</td>
433 				<td style="background: hsla(300, 100%, 50%, 0.8)">&nbsp;</td>
434 				<td style="background: hsla(300, 100%, 50%, 0.6)">&nbsp;</td>
435 				<td style="background: hsla(300, 100%, 50%, 0.4)">&nbsp;</td>
436 				<td style="background: hsla(300, 100%, 50%, 0.2)">&nbsp;</td>
437 				<td style="background: hsla(300, 100%, 50%, 0)">&nbsp;</td>
438 				<td style="background: black">&nbsp;</td>
439 			</tr>
440 			<tr>
441 				<td style="background: black">&nbsp;</td>
442 				<td style="background: hsla(300, 100%, 50%, 1.0)">&nbsp;</td>
443 				<td style="background: hsla(300, 100%, 60%, 1.0)">&nbsp;</td>
444 				<td style="background: hsla(300, 100%, 70%, 1.0)">&nbsp;</td>
445 				<td style="background: hsla(300, 100%, 80%, 1.0)">&nbsp;</td>
446 				<td style="background: hsla(300, 100%, 90%, 1.0)">&nbsp;</td>
447 				<td style="background: hsla(300, 100%, 100%, 1.0)">&nbsp;</td>
448 				<td style="background: white">&nbsp;</td>
449 			</tr>
450 			<tr>
451 				<td style="background: white">&nbsp;</td>
452 				<td style="background: rgb(100%, 0%, 100%)">&nbsp;</td>
453 				<td style="background: rgb(100%, 20%, 100%)">&nbsp;</td>
454 				<td style="background: rgb(100%, 40%, 100%)">&nbsp;</td>
455 				<td style="background: rgb(100%, 60%, 100%)">&nbsp;</td>
456 				<td style="background: rgb(100%, 80%, 100%)">&nbsp;</td>
457 				<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
458 				<td style="background: black">&nbsp;</td>
459 			</tr>
460 		</table>
461 		</div>
462 
463 		<p>The following table should have two matching rows changing (in 5 steps) from red at the left to green at the right (plus a checkerboard at both ends to show where the rows are):</p>
464 
465 		<div style="background: lime">
466 		<table border="border">
467 			<tr>
468 				<td style="background: black">&nbsp;</td>
469 				<td style="background: hsla(0, 100%, 50%, 1)">&nbsp;</td>
470 				<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
471 				<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
472 				<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
473 				<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
474 				<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
475 				<td style="background: white">&nbsp;</td>
476 			</tr>
477 			<tr>
478 				<td style="background: white">&nbsp;</td>
479 				<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
480 				<td style="background: rgb(80%, 20%, 0%)">&nbsp;</td>
481 				<td style="background: rgb(60%, 40%, 0%)">&nbsp;</td>
482 				<td style="background: rgb(40%, 60%, 0%)">&nbsp;</td>
483 				<td style="background: rgb(20%, 80%, 0%)">&nbsp;</td>
484 				<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
485 				<td style="background: black">&nbsp;</td>
486 			</tr>
487 		</table>
488 		</div>
489 
490 		<p>The following table should have two matching rows changing (in 5 steps) from green at the left to blue at the right (plus a checkerboard at both ends to show where the rows are):</p>
491 
492 		<div style="background: blue">
493 		<table border="border">
494 			<tr>
495 				<td style="background: black">&nbsp;</td>
496 				<td style="background: hsla(120, 100%, 50%, 1)">&nbsp;</td>
497 				<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
498 				<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
499 				<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
500 				<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
501 				<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
502 				<td style="background: white">&nbsp;</td>
503 			</tr>
504 			<tr>
505 				<td style="background: white">&nbsp;</td>
506 				<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
507 				<td style="background: rgb(0%, 80%, 20%)">&nbsp;</td>
508 				<td style="background: rgb(0%, 60%, 40%)">&nbsp;</td>
509 				<td style="background: rgb(0%, 40%, 60%)">&nbsp;</td>
510 				<td style="background: rgb(0%, 20%, 80%)">&nbsp;</td>
511 				<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
512 				<td style="background: black">&nbsp;</td>
513 			</tr>
514 		</table>
515 		</div>
516 
517 		<p>The following table should have two matching rows changing (in 5 steps) from blue at the left to red at the right (plus a checkerboard at both ends to show where the rows are):</p>
518 
519 		<div style="background: red">
520 		<table border="border">
521 			<tr>
522 				<td style="background: black">&nbsp;</td>
523 				<td style="background: hsla(240, 100%, 50%, 1)">&nbsp;</td>
524 				<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
525 				<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
526 				<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
527 				<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
528 				<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
529 				<td style="background: white">&nbsp;</td>
530 			</tr>
531 			<tr>
532 				<td style="background: white">&nbsp;</td>
533 				<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
534 				<td style="background: rgb(20%, 0%, 80%)">&nbsp;</td>
535 				<td style="background: rgb(40%, 0%, 60%)">&nbsp;</td>
536 				<td style="background: rgb(60%, 0%, 40%)">&nbsp;</td>
537 				<td style="background: rgb(80%, 0%, 20%)">&nbsp;</td>
538 				<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
539 				<td style="background: black">&nbsp;</td>
540 			</tr>
541 		</table>
542 		</div>
543 
544 	</body>
545 </html>