- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Thu, 12 Dec 2013 13:57:47 -0500
- To: www-svg@w3.org
On 12/12/13 1:44 PM, Boris Zbarsky wrote: > Please do file bugs as needed! And in particular, I tried to reproduce the editability you claim and failed, in a current Firefox nightly [1]. So if you have a testcase that shows that editability I'd love to see it; presumably some method is just missing an "is animValue" check. -Boris [1] <svg transform="translate(2, 2)"></svg> <pre><script> var svg = document.querySelector("svg"); var transform = svg.transform; var animVal = transform.animVal; var item = animVal.getItem(0); try { animVal.replaceItem(item, item); document.writeln("FAIL: animVal.replaceItem did not throw") } catch (e) { document.writeln("PASS: animVal.replaceItem gives " + e) } try { animVal.appendItem(item); document.writeln("FAIL: animVal.appendItem did not throw") } catch (e) { document.writeln("PASS: animVal.appendItem gives " + e) } try { item.setScale(1,1); document.writeln("FAIL: animVal setScale did not throw") } catch (e) { document.writeln("PASS: animVal setScale gives " + e) } </script>
Received on Thursday, 12 December 2013 18:58:16 UTC