Page MenuHomePhabricator
Paste P945

svg_example.html
ActivePublic

Authored by epriestley on Oct 10 2013, 5:16 PM.
Tags
None
Referenced Files
F66958: svg_example.html
Oct 10 2013, 5:16 PM
Subscribers
None
<!doctype
<html>
<head>
<script type="text/javascript">
setInterval(function() {
var r = document.getElementById('r');
r.style.strokeWidth = 10 * (1 + Math.sin(+new Date() / 250));
}, 10);
</script>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<g fill="none">
<rect width="100" height="100" stroke="red" id="r" />
</g>
</svg>
</body>
</html>

Event Timeline

epriestley changed the title of this paste from untitled to svg_example.html.
epriestley updated the paste's language from autodetect to autodetect.