color-116

Color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)

WeasyPrint

This browser

Flags
ahem
Assertion
The 'color' set to 'rgb(0%, 0%, 100%)' 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 rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</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 'rgb(0%, 0%, 100%)' renders the correct foreground color of an element's text content.">
10         <style type="text/css">
11             div
12             {
13                 height: 1in;
14                 width: 1in;
15             }
16             #test
17             {
18                 color: rgb(0%, 0%, 100%);
19                 font: 1in Ahem;
20             }
21             #reference
22             {
23                 background-color: rgb(0%, 0%, 100%);
24                 margin-top: 10px;
25             }
26         </style>
27     </head>
28     <body>
29         <p>Test passes if the boxes below are the same color.</p>
30         <div id="test">X</div>
31         <div id="reference"></div>
32     </body>
33 </html>