blob: 4875b4716e63aa5082cdf942de991395f6a57ac0 (
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
|
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<title>::first-letter with border-radius</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1067088">
<style>
html,body { color:black; background-color:white; font-size:24px; }
div { line-height:36px; }
.b { background: blue; }
.r100p { border-radius: 100%; }
.r10p { border-radius: 10%; }
.s1 { border:1px solid black; }
.i { background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR%2FmAAAAAXNSR0IArs4c6QAAADpJREFUWMPtzgENAAAIA6Br%2F85aQzdIQGVyUCdaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpan1oLQKsBY3S7VU8AAAAASUVORK5CYII%3D); }
.shadowi { box-shadow: inset 15px 9px 7px 0px #00F; }
.shadowo { box-shadow: 0px 0px 7px 0px #00F;}
.shadowio { box-shadow: inset 15px 9px 7px 0px #00F, 0px 0px 7px 0px #00F;}
.bi {
border: 5px solid red;
border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD%2FgAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAoUlEQVR42u3bwQ0AIAgEwcOmtXttgScmsxWQCTyp3EysJo61IliwYMGCBUuwYMGCBQuWYMGCBQsWLMGCBQsWLFiCBQsWLFiwBAsWLFiwYAkWLFiwYMESLFiwYMGCpXaVka%2BsO8dmOUNYggULFixYsAQLFixYsGAJFixYsGDBEixYsGDBgiVYsGDBggVLsGDBggULlmDBggULFizBggUL1t89N%2FYEtBGStpoAAAAASUVORK5CYII%3D) 10 10 repeat;
background: pink;
border-image-outset: 7px 3px 5px 9px;
}
</style>
</head>
<body>
<table cellpadding="10"><tr><td>
<div><span class="b r100p">F</span>irst-letter</div>
<div><span class="b r10p">F</span>irst-letter</div>
<div><span class="b s1 r100p">F</span>irst-letter</div>
<div><span class="b s1 r10p">F</span>irst-letter</div>
<div><span class="shadowo r100p">F</span>irst-letter</div>
<div><span class="shadowo s1 r10p">F</span>irst-letter</div>
<div><span class="shadowi s1 r100p">F</span>irst-letter</div>
<div><span class="shadowi r10p">F</span>irst-letter</div>
<div><span class="shadowio r100p">F</span>irst-letter</div>
<div><span class="shadowio s1 r10p">F</span>irst-letter</div>
<div><span class="s1 r100p">F</span>irst-letter</div>
<div><span class="s1 r10p">F</span>irst-letter</div>
<div><span class="i r100p">F</span>irst-letter</div>
<div><span class="i r10p">F</span>irst-letter</div>
<div><span class="i s1 r100p">F</span>irst-letter</div>
<div><span class="i s1 r10p">F</span>irst-letter</div>
<div><span class="bi">F</span>irst-letter</div>
</td>
<td>
<div><span class="b r100p">F</span>irst-letter</div>
<div><span class="b r10p">F</span>irst-letter</div>
<div><span class="b s1 r100p">F</span>irst-letter</div>
<div><span class="b s1 r10p">F</span>irst-letter</div>
<div><span class="shadowo r100p">F</span>irst-letter</div>
<div><span class="shadowo s1 r10p">F</span>irst-letter</div>
<div><span class="shadowi s1 r100p">F</span>irst-letter</div>
<div><span class="shadowi r10p">F</span>irst-letter</div>
<div><span class="shadowio r100p">F</span>irst-letter</div>
<div><span class="shadowio s1 r10p">F</span>irst-letter</div>
<div><span class="s1 r100p">F</span>irst-letter</div>
<div><span class="s1 r10p">F</span>irst-letter</div>
<div><span class="i r100p">F</span>irst-letter</div>
<div><span class="i r10p">F</span>irst-letter</div>
<div><span class="i s1 r100p">F</span>irst-letter</div>
<div><span class="i s1 r10p">F</span>irst-letter</div>
<div><span class="bi">F</span>irst-letter</div>
</td>
</tr></table>
</body>
</html>
|