summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/reference/active-selection-025-ref.html
blob: f2cf946041c8053a592381cd92b745c283e3bede (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
<!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
    {
      background-color: yellow;
      color: green;
      display: inline;
      font-size: 300%;
    }

  span
    {
      color: purple;
    }
  </style>

  <p>Test passes if background color of "Selected Text" is yellow, if the "S" glyph is purple and if the other glyphs are green.

  <div class="highlight_reftest"><span>S</span>elected Text</div>