summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/origin-content-box_with_size-ref.html
blob: cc429f661ec7d3a00f6f6f9d4445d68c4295d67e (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
55
56
57
58
<!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: 568px;
      overflow-y: hidden;
      width: 584px;
    }

  div
    {
      display: inline-block;
      vertical-align: bottom;
    }

  div.image
    {
      height: 288px;
      width: 514px;
    }

  img
    {
      left: 32px;
      position: relative;
      top: 32px;
    }

  div#multiple
    {
      background-image: url('../background-origin/support/yellow-orange-blue-160x160.png');
      background-position: 32px 32px;
      background-size: 225px auto;
      bottom: 288px;
      margin-top: 8px;
      position: relative;
    }

  div.light-blue-border
    {
      border: 16px solid rgba(60, 150, 255, 0.4);
      bottom: 288px;
      height: 256px;
      position: relative;
      width: 482px;
    }
  </style>

<div class="image"><img src="../background-origin/support/yellow-orange-blue-160x160.png" width="225" alt="Image download support must be enabled"></div><div class="light-blue-border"></div><br>

<div class="image" id="multiple"></div><div class="light-blue-border" style="bottom: 576px;"></div>