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 'invert'</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 'invert' makes outline visible on any background color.">
10 <style type="text/css">
11 #div1
12 {
13 background: blue;
14 border: blue solid;
15 height: 2in;
16 width: 2in;
17 }
18 div div
19 {
20 outline-color: invert;
21 outline-style: solid;
22 outline-width: 0.25in;
23 margin: 0.5in;
24 height: 1in;
25 width: 1in;
26 }
27 </style>
28 </head>
29 <body>
30 <p>Test passes if there is a yellow or black box inside a blue box.</p>
31 <div id="div1">
32 <div></div>
33 </div>
34 </body>
35 </html>