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 'inherit'</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 inherit renders the correct outline color on the element.">
10 <style type="text/css">
11 #div1
12 {
13 left: 0;
14 outline-color: inherit;
15 outline-style: solid;
16 outline-width: 50px;
17 position: relative;
18 margin: 100px 0 0 100px;
19 width: 0;
20 }
21 #reference
22 {
23 background-color: green;
24 height: 100px;
25 margin: 50px 0 0 50px;
26 width: 100px;
27 }
28 #wrapper
29 {
30 height: 100px;
31 outline: green;
32 width: 100px;
33 }
34 </style>
35 </head>
36 <body>
37 <p>Test passes if the two boxes below are the same color.</p>
38 <div id="wrapper">
39 <div id="div1"></div>
40 </div>
41 <div id="reference"></div>
42 </body>
43 </html>