Files
servo/tests/wpt/css-tests/css21_dev/xhtml1/reference/selectors-001-ref.xht

25 lines
840 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
body * {
margin: 1em 0;
font: inherit;
display: block;
color: white;
background: green;
}
</style>
</head>
<body>
<p>This text should be green. (element)</p>
<div>This text should be green. (class)</div>
<div>This text should be green. (id)</div>
<div>This text should be green. (child)</div>
<div>This text should be green. (descendant)</div>
<blockquote>This text should be green. (sibling)</blockquote>
<div>This text should be green. (attribute)</div>
</body>
</html>