descendant-selector-000-ref.xht (682B)
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 .orange { 8 border: thin solid orange; 9 } 10 .blue { 11 border: thin solid blue; 12 } 13 .fuchsia { 14 border: thin solid fuchsia; 15 } 16 </style> 17 </head> 18 <body> 19 <p class="orange">This paragraph should have a thin orange border.</p> 20 <div><p class="blue">This paragraph should have a thin blue border.</p></div> 21 <h4><span class="fuchsia">This text should have a thin fuchsia border.</span></h4> 22 </body> 23 </html>