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 integers with a maximum value and a plus sign, rgb(+255, +255, +255)</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(+255, +255, +255)' renders the correct foreground color of an element's text content.">
10 <style type="text/css">
11 body
12 {
13 background-color: black;
14 }
15 p
16 {
17 color: white;
18 }
19 div
20 {
21 height: 1in;
22 width: 1in;
23 }
24 #test
25 {
26 color: rgb(+255, +255, +255);
27 font: 1in Ahem;
28 }
29 #reference
30 {
31 background-color: rgb(255, 255, 255);
32 margin-top: 10px;
33 }
34 </style>
35 </head>
36 <body>
37 <p>Test passes if the boxes below are the same color.</p>
38 <div id="test">X</div>
39 <div id="reference"></div>
40 </body>
41 </html>