cascade-highlight-005-ref.html (630B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reftest Reference</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <link rel="stylesheet" href="../support/highlights.css"> 10 11 <style> 12 div 13 { 14 background-color: green; 15 color: yellow; 16 display: inline; 17 font-size: 300%; 18 } 19 20 span 21 { 22 color: orange; 23 } 24 </style> 25 26 <p>Test passes if "Text selected" has a green background throughout, if "Tex" and "cted" are yellow and if "t sele" are orange. 27 28 <div class="highlight_reftest">Tex<span>t sele</span>cted</div>