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: parsing of hexidecimal color 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/#rgb-color">
8 <link rel="match" href="reference/t422-rgba-func-no-mixed-f-ref.htm">
9 <meta name="flags" content="invalid">
10 <meta name="assert" content="Test that hexidecimal values are only accepted if they have 3 or six digits.">
11 <style type="text/css">
12 p { color: green; }
13 p { color: #f; }
14 p { color: #ff; }
15 p { color: #ff000; }
16 p { color: #ff00000; }
17 p { color: #ff0000000; }
18 p { color: #ff00000000; }
19 </style>
20 </head>
21 <body>
22 <p>This text should be green.</p>
23
24 <div>Note: the rules tested by this test may be changed in
25 future levels of the CSS Color Module.</div>
26 </body>
27 </html>