summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/reference/selection-intercharacter-011-ref.html
blob: 21a88ebb025617f8dae50cb500a1a30eeaef22be (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 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>