active-selection-027-ref.html (794B)
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 <style> 11 div 12 { 13 font-size: 300%; 14 } 15 16 span 17 { 18 background-color: yellow; 19 } 20 21 span#first 22 { 23 color: purple; 24 } 25 26 span#second 27 { 28 color: green; 29 } 30 </style> 31 32 <p>Test passes if both "selected text" have a yellow background, if the glyphs of "1st selected text" are purple and if the glyphs of "2nd selected text" are green. 33 34 <div class="highlight_reftest"><span id="first">1st selected text</span></div> 35 36 <div class="highlight_reftest"><span id="second">2nd selected text</span></div>