summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/border-image-slice-fill-002-ref.html
blob: f8a781c2531eafe3e1c1046d3e7c4b51fd0afdbd (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
<!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-yellow
    {
      background-color: yellow;
      height: 100px;
      padding: 50px;
      width: 100px;
    }

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

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

  <div id="outer-yellow">
    <div id="inner-green"></div>
  </div>