Bug 11685

Summary: WebKit is missing SVGPoint.matrixTransform
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: a.neumann, sam
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.carto.net/papers/svg/gui/scrollbar/index.svg

Eric Seidel (no email)
Reported 2006-11-23 04:07:53 PST
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.
Attachments
Eric Seidel (no email)
Comment 1 2006-11-23 04:08:39 PST
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.
Eric Seidel (no email)
Comment 2 2006-11-23 04:11:46 PST
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.
Eric Seidel (no email)
Comment 3 2006-11-23 04:14:02 PST
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.
Andreas Neumann
Comment 4 2006-11-25 06:46:32 PST
Here is another testcase, simpler than the slider example: http://www.carto.net/neumann/webkitsvgbugs/SVGPoint_test.svg
Nikolas Zimmermann
Comment 5 2006-12-03 03:25:45 PST
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 ***
Nikolas Zimmermann
Comment 6 2006-12-03 05:47:09 PST
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.
Note You need to log in before you can comment on or make changes to this bug.