Mutation of 'pathLength' on non-SVGPathElement SVGGeometryElement doesn't work |
||
Issue description
Example:
<!DOCTYPE html>
<svg width="100" height="100">
<rect y="50" width="200" height="100" fill="red"
stroke="green" stroke-width="100" stroke-dasharray="100"
pathLength="4800"/>
</svg>
<script>
setTimeout(function() {
document.querySelector('rect').setAttribute('pathLength', 600);
}, 1000);
</script>
should yield a green 100x100 rectangle after 1s.
,
Feb 28 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Feb 28 2018