blob: de765cd10de5dfa68007f39e8a1b2f31b1971ca0 (
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
|
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border</title>
<style type="text/css">
body {
filter: url('../filters.svg#NonWhiteToBlack');
}
body > div {
/* filter doesn't change alpha */
background: white;
}
div.test {
width: 154px;
height: 142px;
border-radius: 72px;
background: black;
}
</style>
</head>
<body>
<div>
<div class="test"></div>
</div>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1">
<!-- use an empty g to force filters.svg to load before onload -->
<use xlink:href="../filters.svg#empty" />
</svg>
</body>
</html>
|