Files
servo/tests/wpt/css-tests/css21_dev/html4/list-style-none-001.htm

27 lines
1020 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: List-style set to 'none' overrides 'list-style-image'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#lists">
<meta name="flags" content="image">
<meta name="assert" content="The 'list-style-image' property is also set to 'none when 'list-style' is set to 'none'.">
<style type="text/css">
body
{
margin-left: 50px;
}
div
{
color: red;
display: list-item;
list-style-image: url('support/red15x15.png');
list-style: none;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
</body>
</html>