summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html
blob: 565e2cac802fc066c2195f9f4d753a77d049243b (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
31
32
33
34
35
36
<!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: 300%;
    }

  span
    {
      background-color: yellow;
    }

  span#first
    {
      color: purple;
    }

  span#second
    {
      color: green;
    }
  </style>

  <p>Test passes if both "selected text" have a yellow background, if the glyphs of "1st selected text" are purple and if the glyphs of "2nd selected text" are green.

  <div class="highlight_reftest"><span id="first">1st selected text</span></div>

  <div class="highlight_reftest"><span id="second">2nd selected text</span></div>