summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/box-shadow-041-ref.html
blob: 8b93bbdf112e09c3a5e4242b8905d01afda6297a (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
50
51
52
53
54
<!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.blue
    {
      background-color: rgba(0, 0, 255, 0.5);  /* semi-transparent blue */
      border: black double 18px;
      height: 36px;
      margin-bottom: 36px;
      width: 36px;
    }

  div#sub-test7-orange
    {
      background-color: rgba(255, 165, 0, 0.5);  /* semi-transparent orange */
      height: 36px;
      width: 18px;
    }

  div#sub-test81-orange , div#sub-test83-orange
    {
      background-color: rgba(255, 165, 0, 0.5);  /* semi-transparent orange */
      height: 12px;
      width: 36px;
    }

  div#sub-test82-orange
    {
      background-color: rgba(255, 165, 0, 0.5);  /* semi-transparent orange */
      height: 12px;
      width: 30px;
    }

  div#sub-test9-orange
    {
      background-color: rgba(255, 165, 0, 0.5);  /* semi-transparent orange */
      height: 36px;
      width: 12px;
    }
  </style>

  <h3>With inset and Npx 0px: 18px 0px</h3>

  <div class="blue"><div id="sub-test7-orange"></div></div>

  <div class="blue"><div id="sub-test81-orange"></div><div id="sub-test82-orange"></div><div id="sub-test83-orange"></div></div>

  <div class="blue"><div id="sub-test9-orange"></div></div>