WebKit fails carto.net scrollbar example due to DOM exceptions (event handler):Can't find variable: setCurrentLink (event handler):SVG_MATRIX_NOT_INVERTABLE: DOM SVG Exception 2 (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object.
it looks like we fail this one for similar reasons: http://www.carto.net/papers/svg/gui/textbox/index.svg (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object.
Same issue here: http://www.carto.net/papers/svg/gui/Window/index.svg (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object. (event handler):Value undefined (result of expression svgPoint.matrixTransform) is not object.
http://www.w3.org/TR/SVG/coords.html#InterfaceSVGPoint It really can't be that hard to add. Unfortunately right now JSSVGPoint is a custom binding. Not that that will make it any harder to add... it will just make it harder to add to both Obj-C and JS.
Here is another testcase, simpler than the slider example: http://www.carto.net/neumann/webkitsvgbugs/SVGPoint_test.svg
Bug report 11734, adresses the missing SVGPoint.matrixTransform() function while fixing other problems with SVGRect/SVGPoint/SVGNumber JavaScript wrappers. Marking as duplicates. *** This bug has been marked as a duplicate of 11734 ***
Andreas testcase SVGPoint_test.svg shows a problem related to getScreenCTM() & viewBox, as Rob found out - not closing the bug yet, this has to be resolved into a new layout test & fixed.