blob: 439747a9ff2e21613c7cb5a6cb8fc8cb1311fd1e (
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
|
<!DOCTYPE html>
<html>
<head>
<title>CSS Background and Borders Test:background-clip_pending-box</title>
<link rel="author" title="anping" href="mailto:zhuanping123@163.com" />
<meta content="Check if the border-clip works.">
<style>
div{
position:absolute;
}
#outside{
border: blue dotted 5px;
height: 120px;
left: 10px;
top: 10px;
width: 120px;
background-color:transparent;
}
#inside{
border: transparent;
height: 100px;
left: 25px;
top: 25px;
width: 100px;
background-color:red;
}
</style>
<head/>
<body>
<p>
"Test passes if the border is blue dotted without red."
</p>
<div id="container">
<div id="outside"></div>
<div id="inside"></div>
</div>
</body>
</html>
|