summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/background-attachment-local-inline-002-ref.html
blob: 3893b167f1a49d82bd602f5583a8d3d689404a1a (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
37
38
39
40
41
42
43
44
45
46
47
48
49
<!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>
  body
    {
      height: 50vh;
      margin: 0px;
    }

  div#filler-before
    {
      height: 125vh;
    }

  div#blue
    {
      background-color: blue;
      height: 12.5vh;
      width: 50vh;
     }

  div#orange
    {
      background-color: orange;
      height: 12.5vh;
      width: 50vh;
    }

  div#filler-after
    {
      height: 50vh;
    }
  </style>

  <body onload="window.scroll(0, document.body.offsetHeight);">

  <div id="filler-before"></div>

  <div id="blue"></div>

  <div id="orange"></div>

  <div id="filler-after"></div>