Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
  <meta charset="UTF-8">
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="stylesheet" href="../support/highlights.css">
  <style>
  div
    {
      font-size: 48px;
      letter-spacing: 1em;
    }
  span#yellow
    {
      background-color: yellow;
    }
  span#orange
    {
      background-color: orange;
    }
  </style>
  <p>Test passes if the background of characters "c" and "t" is orange (and only those 2 characters) and if the space between those 2 characters is also orange.
  <div class="highlight_reftest"><span id="yellow">Sele<span id="orange">ct</span>ed</span></div>