list-style-001

List-style with only list-style-type as a value

WeasyPrint

This browser

Assertion
The shorthand property 'list-style' applies 'list-style-type'.

Source

 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 with only list-style-type as a 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' applies 'list-style-type'.">
10         <style type="text/css">
11             body
12             {
13                 margin: 50px;
14             }
15             div
16             {
17                 display: list-item;
18                 list-style: square;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if the text below has a square bullet.</p>
24         <div>Filler text</div>
25     </body>
26 </html>