summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-cascade/cascade-highlight-005-ref.html
blob: d1e597e05b8434bbb9b769cc62841662df0481b1 (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
<!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: green;
      color: yellow;
      display: inline;
      font-size: 300%;
    }

  span
    {
      color: orange;
    }
  </style>

  <p>Test passes if "Text selected" has a green background throughout, if "Tex" and "cted" are yellow and if "t sele" are orange.

  <div class="highlight_reftest">Tex<span>t sele</span>cted</div>