blob: ed74e4d7b839b9b65d5e072912455e748b3c00e8 (
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
|
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>test of border-image: number repetition</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
div {
background: red; /* fail if this shows through */
background-image: url('3x3multicolor.png'); /* fail if this shows through */
margin-bottom: 2px;
}
div.one {
border-width: 4px 6px 8px 6px;
border-style: solid;
border-image: url(10x5multicolor.png) 2 2 2 2;
-khtml-border-image: url(10x5multicolor.png) 2 2 2 2;
border-image: url(10x5multicolor.png) 2 2 2 2;
width: 5px;
height: 2px;
}
div.two {
border-width: 4px 4px 4px 4px;
border-style: solid;
border-image: url(10x5multicolor.png) 2 1 2 1;
-khtml-border-image: url(10x5multicolor.png) 2 1 2 1;
border-image: url(10x5multicolor.png) 2 1 2 1;
width: 5px;
height: 2px;
}
div.three {
border-width: 4px 2px 4px 2px;
border-style: solid;
border-image: url(10x5multicolor.png) 2 3 1 3;
-khtml-border-image: url(10x5multicolor.png) 2 3 1 3;
border-image: url(10x5multicolor.png) 2 3 1 3;
width: 5px;
height: 2px;
}
div.four {
border-width: 4px 3px 4px 3px;
border-style: solid;
border-image: url(10x5multicolor.png) 2 3 1 1;
-khtml-border-image: url(10x5multicolor.png) 2 3 1 1;
border-image: url(10x5multicolor.png) 2 3 1 1;
width: 5px;
height: 2px;
}
</style>
</head>
<body>
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
<div class="four"></div>
</body>
</html>
|