list-style-position-003

Marker box position - list-item overflow - 'list-style-position:inside'

WeasyPrint

This browser

Assertion
'overflow' applied to principal box and presence of child block box (in normal flow) must have no affect on visibility or position of marker box

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 5   <title>CSS Test: Marker box position - list-item overflow - 'list-style-position:inside'</title>
 6   <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">
 9   <meta name="flags" content="">
10   <meta name="assert" content="'overflow' applied to principal box and presence of child block box (in normal flow) must have no affect on visibility or position of marker box">
11   <style type="text/css">
12   #test{
13   display:list-item;
14   font-size:85px;
15   color:navy;
16   list-style-position:inside;
17   overflow:auto;
18   }
19   #test div{
20   background:blue;
21   display:block;
22   }
23   </style>
24  </head>
25  <body>
26   <p>To pass, there <strong>must</strong> be a bullet (filled-in circle) above a blue bar</p>
27   <div id="test">
28    <div>&nbsp;</div>
29   </div>
30  </body>
31 </html>