outline-color-057

Outline-color set to 'rgb(101%, 101%, 101%)'

WeasyPrint

This browser

Assertion
Outline color rgb(101%, 101%, 101%) renders the correct outline color on the element.

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: Outline-color set to '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/ui.html#propdef-outline-color">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">
 8         <meta name="flags" content="">
 9         <meta name="assert" content="Outline color rgb(101%, 101%, 101%) renders the correct outline color on the element.">
10         <style type="text/css">
11             body
12             {
13                 background-color: black;
14                 color: white;
15             }
16             #div1
17             {
18                 outline-color: rgb(101%, 101%, 101%);
19                 outline-style: solid;
20                 outline-width: 50px;
21                 margin: 100px 0 0 100px;
22                 width: 0;
23             }
24             #reference
25             {
26                 background-color: rgb(101%, 101%, 101%);
27                 height: 100px;
28                 margin: 200px 0 0 50px;
29                 width: 100px;
30             }
31         </style>
32     </head>
33     <body>
34         <p>Test passes if the two boxes below are the same color.</p>
35         <div id="div1"></div>
36         <div id="reference"></div>
37     </body>
38 </html>