summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/border-image-slice-007-ref.html
blob: 2581d8dabfc7927c6ce8c1a5bedd9ccb2af82e52 (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
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reference Test</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <style>
  div#outer
    {
      background-color: orange;
      border: blue double 24px;
      margin: 50px;
      padding: 8px;
      width: 216px;
    }

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

  <p>Test passes if there is a filled green rectangle inside 3 blue borders interleaved with 2 orange borders and <strong>no red</strong>.

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