Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-pct-px.svg
width="200px" height="200px"
class="reftest-wait"
onload="go()">
<style>
rect { stroke: blue; stroke-width: 5%; }
</style>
<script xlink:href="../smil-grid.js" type="text/javascript"/>
<script xlink:href="../smil-util.js" type="text/javascript"/>
<script>
function go() {
var animAttrHash = { "attributeName" : "stroke-width",
"from" : "5%",
"to" : "30px" };
testAnimatedRectGrid("animate", [animAttrHash]);
}
</script>
</svg>