-
Notifications
You must be signed in to change notification settings - Fork 6
/
test.html
82 lines (63 loc) · 3.29 KB
/
test.html
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
<!DOCTYPE html>
<meta charset="utf-8">
<title>SparkSVG Test</title>
<meta name="viewport" content="width=device-width">
<style>
* {
box-sizing: border-box;
}
body {
font: 17px/1.5 sans-serif;
color: #222;
margin: 10%;
}
object, embed {
height: 1em;
width: 100%;
max-width: 6em;
}
.circle object,
.circle embed {
max-width: 20em;
}
.box {
margin: 0 0 1em;
}
</style>
<div class="box line">
<h2>line</h2>
<h3>object</h3>
<object data="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml"></object>
<h3>embed (w. type)</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml">
<h3>embed (w. type)</h3>
<embed src="line.svg?50,0,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50" type="image/svg+xml">
<h3>embed + rgba</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0&rgba:255,100,0,1" type="image/svg+xml">
<h3>embed + current</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0¤t" type="image/svg+xml">
<h3>embed + current + max</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0¤t&max" type="image/svg+xml">
<h3>embed + current + min</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0¤t&min" type="image/svg+xml">
<h3>embed + current + min + max</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0¤t&max&min" type="image/svg+xml">
</div>
<div class="box bar">
<h2>bar</h2>
<h3>object</h3>
<object data="bar.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml"></object>
<h3>embed (w. type)</h3>
<embed src="bar.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0&color200,180,100,0.8" type="image/svg+xml">
<h3>embed + rgba</h3>
<embed src="bar.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0&rgba:200,180,100,0.8" type="image/svg+xml">
</div>
<div class="box circle">
<h2>circle</h2>
<h3>object</h3>
<object data="circle.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml"></object>
<h3>embed (w. type)</h3>
<embed src="circle.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml">
<h3>embed + rgba</h3>
<embed src="circle.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0&rgba:255,0,150,0.7" type="image/svg+xml">
</div>