selectors-001-ref.xht (771B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Reftest Reference</title> 5 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/> 6 <style type="text/css"> 7 body * { 8 margin: 1em 0; 9 font: inherit; 10 display: block; 11 color: white; 12 background: green; 13 } 14 </style> 15 </head> 16 <body> 17 <p>This text should be green. (element)</p> 18 <div>This text should be green. (class)</div> 19 <div>This text should be green. (id)</div> 20 <div>This text should be green. (child)</div> 21 <div>This text should be green. (descendant)</div> 22 <blockquote>This text should be green. (sibling)</blockquote> 23 <div>This text should be green. (attribute)</div> 24 </body> 25 </html>