outline-color-113

Outline-color set to 'rgb(0%, 0%, 50%)'

WeasyPrint

This browser

Assertion
Outline color rgb(0%, 0%, 50%) 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(0%, 0%, 50%)'</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(0%, 0%, 50%) renders the correct outline color on the element.">
10         <style type="text/css">
11             #div1
12             {
13                 outline-color: rgb(0%, 0%, 50%);
14                 outline-style: solid;
15                 outline-width: 50px;
16                 margin: 100px 0 0 100px;
17                 width: 0;
18             }
19             #reference
20             {
21                 background-color: rgb(0%, 0%, 50%);
22                 height: 100px;
23                 margin: 200px 0 0 50px;
24                 width: 100px;
25             }
26         </style>
27     </head>
28     <body>
29         <p>Test passes if the two boxes below are the same color.</p>
30         <div id="div1"></div>
31         <div id="reference"></div>
32     </body>
33 </html>