Files
servo/tests/wpt/css-tests/css21_dev/html4/grouping-000.htm

20 lines
784 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Selectors: Grouping</title>
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#grouping">
<link rel="match" href="reference/grouping-000-ref.htm">
<link rel="mismatch" href="reference/grouping-000-notref.htm">
<meta name="flags" content="">
<meta name="assert" content="Browsers should apply the rule to all elements grouped">
<style type="text/css">
p, div, h4 {color: green; font-weight: bold}
</style>
</head>
<body>
<p>This text should be green.</p>
<div>This text should be green.</div>
<h4>This text should be green.</h4>
</body>
</html>