outline-color-001

Outline-color set to '#00000'

WeasyPrint

This browser

Flags
invalid
Assertion
Outline color #00000 (invalid) falls back to a default color.

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 '#00000'</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="invalid">
 9         <meta name="assert" content="Outline color #00000 (invalid) falls back to a default color.">
10         <style type="text/css">
11             #div1
12             {
13                 outline-color: #00000;
14                 outline-style: solid;
15                 outline-width: 50px;
16                 margin: 100px 0 0 100px;
17                 width: 0;
18             }
19             #reference
20             {
21                 background-color: black;
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>