-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsvg-test.html
65 lines (50 loc) · 1.29 KB
/
svg-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
<!DOCTYPE html>
<html>
<head>
<style>
hr {color:sienna;}
p {margin-left:20px;}
body {background-image:url("images/background.gif");}
.container {
width:100px;
height:100px;
overflow: scroll;
overflow-x: scroll;
overflow-y: scroll;
border-style:solid;
border-width:1px;
}
.svgbox {
/* width:1000px;
height:1000px;
*/
width : 1000px;
overflow-x: scroll;
overflow-y: scroll;
}
</style>
<title>rallyd3dependencytree</title>
<script type="text/javascript">
// I am keeping the extra , in there to simplify my code. If someone is actually using an old version of IE to make an app let me know.
// Rally.loadScripts(
// [
// "App.js",
// ],
// function() {
// Rally.launchApp('CustomApp', {
// name:"rallyd3dependencytree"
// });
// }, true);
</script>
<link rel="stylesheet" type="text/css" href="app.css">
</head>
<body>
<div class="container">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" class="svgbox">
<rect x="10" y="10" height="150" width="150"
style="stroke:#ff0000; fill: #0000ff"/>
</svg>
</div>
</body>
</html>