selection-intercharacter-012-ref.html (735B)
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: 48px; 14 letter-spacing: 1em; 15 } 16 17 span#yellow 18 { 19 background-color: yellow; 20 } 21 22 span.orange 23 { 24 background-color: orange; 25 } 26 </style> 27 28 <p>Test passes if the background of characters "c" and "t" is orange and if the space between those 2 characters is yellow (and not orange). 29 30 <div class="highlight_reftest"><span id="yellow">Sele<span class="orange">c</span> <span class="orange">t</span>ed</span></div>