summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/reference/selection-intercharacter-012-ref.html
blob: 86165ac064c2bd0058d05ae63412ef5242615557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!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 if the space between those 2 characters is yellow (and not orange).

  <div class="highlight_reftest"><span id="yellow">Sele<span class="orange">c</span> <span class="orange">t</span>ed</span></div>