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: inherit with two values</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">
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 with value inherit uses its parent's outline values (2 values).">
10 <style type="text/css">
11 body
12 {
13 background: white;
14 }
15 #test
16 {
17 border: 3px solid blue;
18 outline: red solid 10px;
19 outline: inherit;
20 }
21 #parent
22 {
23 outline: green dotted 10px;
24 padding: 50px;
25 border: 3px solid blue;
26 }
27 </style>
28 </head>
29 <body>
30 <p>Test passes if there is a dotted green outline closely surrounding both blue boxes. Both green outlines need to be the same width, style and color and there is no red visible on the page.</p>
31 <div id="parent">
32 <div id="test">Filler text</div>
33 </div>
34 </body>
35 </html>