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 one value</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 (1 value).">
10 <style type="text/css">
11 body
12 {
13 background: white;
14 }
15 #test
16 {
17 outline: red solid 15px;
18 outline: inherit;
19 }
20 #parent
21 {
22 outline: dotted;
23 padding: 50px;
24 border: 2px solid blue;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is a black outline closely surrounding the "Filler Text". That outline needs to be is the same size, style and color as the outline surrounding the blue box and there is no red visible on the page.</p>
30 <div id="parent">
31 <div id="test">Filler text</div>
32 </div>
33 </body>
34 </html>