border-left-color-057

Border-left-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)

WeasyPrint

This browser

Flags
invalid
Assertion
The 'border-left-color' set to rgb(101%, 101%, 101%) truncates to a valid value.

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: Border-left-color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties">
 8         <meta name="flags" content="invalid">
 9         <meta name="assert" content="The 'border-left-color' set to rgb(101%, 101%, 101%) truncates to a valid value.">
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                 border-left-style: solid;
27                 border-left-width: 1in;
28                 border-left-color: rgb(101%, 101%, 101%);
29             }
30             #reference
31             {
32                 background-color: rgb(100%, 100%, 100%);
33                 margin-top: 10px;
34             }
35         </style>
36     </head>
37     <body>
38         <p>Test passes if the boxes below are the same color.</p>
39         <div id="test"></div>
40         <div id="reference"></div>
41     </body>
42 </html>