- From: Dirk Schulze <dschulze@adobe.com>
- Date: Thu, 12 Dec 2013 19:34:23 +0000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: www-svg <www-svg@w3.org>
On Dec 12, 2013, at 7:57 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote: > 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. Rebecca Hauck wrote a bunch of test files to SVG DOM and transform. The tests are not officially submitted yet and need a review. Problems with animVal lists were one outcome [1]. Greetings, Dirk [1] https://github.com/w3c/csswg-test/tree/master/contributors/adobe/incoming/svg-transform/dom > > -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 19:35:11 UTC