summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/background/border-image-repeat-round-1-ref.html
blob: 69d38c3179db227d22548a8b8aab1320d02b1b66 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>CSS Border Image: border-image-repeat: round</title>
    <link rel="author" title="Ethan Lin" href="mailto:ethlin@mozilla.com">
    <link rel="author" title="Mozilla" href="https://www.mozilla.org">
    <style type="text/css">
      .outer {
        width: 81px;
        height: 81px;
      }
      .inner1 {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 27px;
        height: 27px;
        background-image: url("border.png");
      }
      .inner2 {
        position: absolute;
        top: 0px;
        left: 27px;
        width: 34px;
        height: 27px;
        background-size: 102px 81px;
        background-image: url("border.png");
        background-position: -34px 0px;
      }
      .inner3 {
        position: absolute;
        top: 0px;
        left: 61px;
        width: 27px;
        height: 27px;
        background-image: url("border.png");
      }
      .inner4 {
        position: absolute;
        top: 27px;
        left: 0px;
        width: 27px;
        height: 34px;
        background-size: 81px 102px;
        background-image: url("border.png");
        background-position: 0px -34px;
      }
      .inner5 {
        position: absolute;
        top: 27px;
        left: 61px;
        width: 27px;
        height: 34px;
        background-size: 81px 102px;
        background-image: url("border.png");
        background-position: -54px -34px;
      }
      .inner6 {
        position: absolute;
        top: 61px;
        left: 0px;
        width: 27px;
        height: 27px;
        background-image: url("border.png");
      }
      .inner7 {
        position: absolute;
        top: 61px;
        left: 27px;
        width: 34px;
        height: 27px;
        background-size: 102px 81px;
        background-image: url("border.png");
        background-position: -34px -54px;
      }
      .inner8 {
        position: absolute;
        top: 61px;
        left: 61px;
        width: 27px;
        height: 27px;
        background-image: url("border.png");
      }
    </style>
    </head>
    <body>
      <div class="outer">
        <div class="inner1"></div>
        <div class="inner2"></div>
        <div class="inner3"></div>
        <div class="inner4"></div>
        <div class="inner5"></div>
        <div class="inner6"></div>
        <div class="inner7"></div>
        <div class="inner8"></div>
      </div>
    </body>
</html>