color-005

Color set to hex with six digits with the maximum minus one value of #fefefe

WeasyPrint

This browser

Flags
ahem
Assertion
The 'color' set to '#fefefe' renders the correct foreground color of an element's text content.

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 set to hex with six digits with the maximum minus one value of #fefefe</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors">
 8         <meta name="flags" content="ahem">
 9         <meta name="assert" content="The 'color' set to '#fefefe' renders the correct foreground color of an element's text content.">
10         <style type="text/css">
11             body
12             {
13                 background: black;
14                 color: white;
15             }
16             div
17             {
18                 height: 1in;
19                 width: 1in;
20             }
21             #test
22             {
23                 color: #fefefe;
24                 font: 1in Ahem;
25             }
26             #reference
27             {
28                 background-color: #fefefe;
29                 margin-top: 10px;
30             }
31         </style>
32     </head>
33     <body>
34         <p>Test passes if the boxes below are the same color.</p>
35         <div id="test">X</div>
36         <div id="reference"></div>
37     </body>
38 </html>