summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/table-cell-background-local-003-ref.html
blob: 6708df44ce4ea99cc390ab851e11376df0af18ec (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
 <!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#outer
    {
      height: 100px;
      margin: 120px 0px 0px 104px;
      overflow: auto;
      width: 100px;
    }

  div#inner
    {
      background-color: green;
      height: 300px;
      width: 300px;
    }
  </style>

 <body onload="document.getElementById('outer').scrollTop = 200; document.getElementById('outer').scrollLeft = 200;">

  <p>Test passes if there is a filled green square and <strong>no red</strong>.

  <div id="outer">
    <div id="inner"></div>
  </div>