blob: 4fa2c2a2f8a7bde9bb31aa43d841c35acde1c1d8 (
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
CSS Border and Background: border-image #10 border-image-width
</title>
<meta name="assert" content="Support for 4 values for the border-image-width property" />
<link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / >
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-width">
<style type="text/css">
#test {
border : 10px solid red;
width : 20px;
height : 20px;
border-image-source: url(support/img-ref-1.png);
border-image-slice : 10;
border-image-width : 1px 5px 10px 15px;
}
#ref {
border-top : 1px solid #009900;
border-right : 5px solid #009900;
border-bottom : 10px solid #009900;
border-left : 15px solid #009900;
padding: 9px 5px 0 0;
width : 15px;
height : 20px;
}
</style>
</head>
<body>
<p>
Pass if both squares are identical.
</p>
<p id="test"></p>
<p id="ref"></p>
</body>
</html>
|