active-selection-025-ref.html (628B)
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 background-color: yellow; 14 color: green; 15 display: inline; 16 font-size: 300%; 17 } 18 19 span 20 { 21 color: purple; 22 } 23 </style> 24 25 <p>Test passes if background color of "Selected Text" is yellow, if the "S" glyph is purple and if the other glyphs are green. 26 27 <div class="highlight_reftest"><span>S</span>elected Text</div>