summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-z-index-001-ref.html
blob: 0e9f9c252b2244f7ba0a33aaccf9cf0c12420e4c (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
<!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/">

  <style>
  div
    {
      background-color: yellow;
      color: green;
      display: inline-block;
      font-size: 48px;
      line-height: 1.25; /* computes to 60px */
      position: relative;
      top: 1.25em;
    }
  </style>

  <p>Test passes if "Text sample" is green and if its background color is yellow.

  <div>Test sample</div>