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: List-style-image 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/generate.html#propdef-list-style-image">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
8 <meta name="flags" content="image">
9 <meta name="assert" content="The 'list-style-image' property set to 'inherit' inherits its value from the parent element.">
10 <style type="text/css">
11 body
12 {
13 margin: 50px;
14 }
15 #wrapper
16 {
17 list-style-image: url('support/blue15x15.png');
18 }
19 #div1
20 {
21 display: list-item;
22 list-style-image: inherit;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes if there is a blue box on the left side of the words "Filler Text".</p>
28 <div id="wrapper">
29 <div id="div1">Filler Text</div>
30 </div>
31 </body>
32 </html>