blob: f372a0f920edd1698e72017e62ed54bcd53fab77 (
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<title>CSS Test: Testing box-decoration-break:clone with inset box-shadow</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=613659">
<meta charset="utf-8">
<style>
span { border:3px dashed pink; margin:0 1em; line-height:4em; }
span {
font-family:monospace;
padding:1em 1em;
background-image: url(green-circle-alpha-32x32.png);
}
.o0 {
border-radius: 12px;
-webkit-box-shadow: inset 0px 0px 0px 10px #00F;
box-shadow: inset 0px 0px 0px 10px #00F;
}
.o10 {
border-radius: 12px;
-webkit-box-shadow: inset 0px 0px 7px 10px #00F;
box-shadow: inset 0px 0px 7px 10px #00F;
}
.o10x {
border-radius: 12px;
-webkit-box-shadow: inset 0px 0px 7px 0px #00F;
box-shadow: inset 0px 0px 7px 0px #00F;
}
.p0 {
border-radius: 12px;
-webkit-box-shadow: inset 15px 9px 0px 10px #00F;
box-shadow: inset 15px 9px 0px 10px #00F;
}
.p10 {
border-radius: 12px;
-webkit-box-shadow: inset 15px 9px 7px 10px #00F;
box-shadow: inset 15px 9px 7px 10px #00F;
}
.p10x {
border-radius: 12px;
-webkit-box-shadow: inset 15px 9px 7px 0px #00F;
box-shadow: inset 15px 9px 7px 0px #00F;
}
.so0 {
border-radius: 0px;
-webkit-box-shadow: inset 0px 0px 0px 10px #00F;
box-shadow: inset 0px 0px 0px 10px #00F;
}
.so10 {
border-radius: 0px;
-webkit-box-shadow: inset 0px 0px 7px 10px #00F;
box-shadow: inset 0px 0px 7px 10px #00F;
}
.so10x {
border-radius: 0px;
-webkit-box-shadow: inset 0px 0px 7px 0px #00F;
box-shadow: inset 0px 0px 7px 0px #00F;
}
.sp0 {
border-radius: 0px;
-webkit-box-shadow: inset 15px 9px 0px 10px #00F;
box-shadow: inset 15px 9px 0px 10px #00F;
}
.sp10 {
border-radius: 0px;
-webkit-box-shadow: inset 15px 9px 7px 10px #00F;
box-shadow: inset 15px 9px 7px 10px #00F;
}
.sp10x {
border-radius: 0px;
-webkit-box-shadow: inset 15px 9px 7px 0px #00F;
box-shadow: inset 15px 9px 7px 0px #00F;
}
.m b { visibility:hidden; }
.m { box-shadow:none; background:none; border-style:solid; border-radius:0; border-color:transparent; }
.m.o0, .m.o10, .m.o10x, .m.p0, .m.p10, .m.p10x { border-bottom-color: black; }
</style>
</head>
<body style="margin:49px 50px;">
<div style="position:relative">
<table border=1 cellpadding=10><tr><td>
<span class="o0"><b> a </b></span><br><span class="o0"><b> b </b></span><br><span class="o0"><b> c </b></span><br>
<span class="o10"><b> a </b></span><br><span class="o10"><b> b </b></span><br><span class="o10"><b> c </b></span><br>
<span class="o10x"><b> a </b></span><br><span class="o10x"><b> b </b></span><br><span class="o10x"><b> c </b></span><br>
</td><td>
<span class="p0"><b> a </b></span><br><span class="p0"><b> b </b></span><br></span><span class="p0"><b> c </b></span><br>
<span class="p10"><b> a </b></span><br><span class="p10"><b> b </b></span><br><span class="p10"><b> c </b></span><br>
<span class="p10x"><b> a </b></span><br><span class="p10x"><b> b </b></span><br><span class="p10x"><b> c </b></span><br>
</td><td>
<span class="so0"><b> a </b></span><br><span class="so0"><b> b </b></span><br><span class="so0"><b> c </b></span><br>
<span class="so10"><b> a </b></span><br><span class="so10"><b> b </b></span><br><span class="so10"><b> c </b></span><br>
<span class="so10x"><b> a </b></span><br><span class="so10x"><b> b </b></span><br><span class="so10x"><b> c </b></span><br>
</td><td>
<span class="sp0"><b> a </b></span><br><span class="sp0"><b> b </b></span><br><span class="sp0"><b> c </b></span><br>
<span class="sp10"><b> a </b></span><br><span class="sp10"><b> b </b></span><br><span class="sp10"><b> c </b></span><br>
<span class="sp10x"><b> a </b></span><br><span class="sp10x"><b> b </b></span><br><span class="sp10x"><b> c </b></span><br>
</td></tr>
</table>
<div style="position:absolute; top:0px;left:0;">
<!-- mask out 1px of outer edge of the rounded borders at some places due to rounding errors -->
<table border=1 cellpadding=10><tr><td>
<span class="m o0"><b> a </b></span><br><span class="m o0"><b> b </b></span><br><span class="m o0"><b> c </b></span><br>
<span class="m o10"><b> a </b></span><br><span class="m o10"><b> b </b></span><br><span class="m o10"><b> c </b></span><br>
<span class="m o10x"><b> a </b></span><br><span class="m o10x"><b> b </b></span><br><span class="m o10x"><b> c </b></span><br>
</td><td>
<span class="m p0"><b> a </b></span><br><span class="m p0"><b> b </b></span><br></span><span class="m p0"><b> c </b></span><br>
<span class="m p10"><b> a </b></span><br><span class="m p10"><b> b </b></span><br><span class="m p10"><b> c </b></span><br>
<span class="m p10x"><b> a </b></span><br><span class="m p10x"><b> b </b></span><br><span class="m p10x"><b> c </b></span><br>
</td><td>
<span class="m so0"><b> a </b></span><br><span class="m so0"><b> b </b></span><br><span class="m so0"><b> c </b></span><br>
<span class="m so10"><b> a </b></span><br><span class="m so10"><b> b </b></span><br><span class="m so10"><b> c </b></span><br>
<span class="m so10x"><b> a </b></span><br><span class="m so10x"><b> b </b></span><br><span class="m so10x"><b> c </b></span><br>
</td><td>
<span class="m sp0"><b> a </b></span><br><span class="m sp0"><b> b </b></span><br><span class="m sp0"><b> c </b></span><br>
<span class="m sp10"><b> a </b></span><br><span class="m sp10"><b> b </b></span><br><span class="m sp10"><b> c </b></span><br>
<span class="m sp10x"><b> a </b></span><br><span class="m sp10x"><b> b </b></span><br><span class="m sp10x"><b> c </b></span><br>
</td></tr>
</table>
</div>
</div>
</body>
|