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 inheriting a single value</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">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
8 <meta name="flags" content="">
9 <meta name="assert" content="The shorthand property 'list-style' set to 'inherit' inherits a single value from the parent.">
10 <style type="text/css">
11 body
12 {
13 margin: 50px;
14 }
15 div
16 {
17 list-style: square;
18 }
19 span
20 {
21 display: list-item;
22 list-style: disc;
23 }
24 div span
25 {
26 list-style: inherit;
27 }
28 </style>
29 </head>
30 <body>
31 <p>Test passes if the text below has a square bullet.</p>
32 <div>
33 <span>Filler Text</span>
34 </div>
35 </body>
36 </html>