Files
servo/tests/wpt/css-tests/css21_dev/html4/universal-selector-005.htm

33 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: universal selector - list-style-image</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="James Hopkins" href="james(a)idreamincode.co.uk">
<link rel="author" title="Mark McKenzie-Bell" href="info(a)temerity.co.uk">
<link rel="author" title="Alexander Dawson" href="alexander_dawson(a)hotmail.com">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#universal-selector">
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image">
<meta name="flags" content="image">
<meta name="assert" content="The universal selector matches the name of any element type. 'list-style-image' applies to elements with 'display: list-item'.">
<style type="text/css">
body {margin-left: 100px;}
* {list-style-image: url("support/cat.png");}
</style>
</head>
<body>
<p>Test passes if there is a <strong>cat image</strong>.</p>
<ul>
<li>&nbsp;</li>
</ul>
</body>
</html>