mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>CSS Test: Marker box position - list-item overflow - 'list-style-position:inside'</title>
|
|
<link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">
|
|
<meta name="flags" content="">
|
|
<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">
|
|
<style type="text/css">
|
|
#test{
|
|
display:list-item;
|
|
font-size:85px;
|
|
color:navy;
|
|
list-style-position:inside;
|
|
overflow:auto;
|
|
}
|
|
#test div{
|
|
background:blue;
|
|
display:block;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>To pass, there <strong>must</strong> be a bullet (filled-in circle) above a blue bar</p>
|
|
<div id="test">
|
|
<div> </div>
|
|
</div>
|
|
</body>
|
|
</html> |