background-color-056

Background-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)

WeasyPrint

This browser

Flags
image
Assertion
Background-color is set to rgb(+100%, +100%, +100%).

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: Background-color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +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-background-color">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties">
 8         <meta name="flags" content="image">
 9         <meta name="assert" content="Background-color is set to rgb(+100%, +100%, +100%).">
10         <style type="text/css">
11             body
12             {
13                 background-color: black;
14             }
15             p
16             {
17                 color: white;
18             }
19             img, #test
20             {
21                 height: 1in;
22                 width: 1in;
23             }
24             #test
25             {
26                 background-color: rgb(+100%, +100%, +100%);
27             }
28         </style>
29     </head>
30     <body>
31         <p>Test passes if the boxes below are the same color.</p>
32         <div id="test"></div>
33         <div id="reference">
34             <br>
35             <img alt="#fff color swatch" src="support/fff_color.png">
36         </div>
37     </body>
38 </html>