blob: cf793507fed9d2e70c0d0d14af8f5e3e299d9a41 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Contextual selectors</title>
<style type="text/css">
ul {color: green;}
p {color: red;}
html body div p {color: green;}
span, ul li li {color: red;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#descendant-selectors" title="5.5 Descendant selectors">
</head>
<body>
<div><p> This line should be green. </p></div>
<ul>
<li>
<span> </span> This line should be green.
</li>
</ul>
</body>
</html>