Bug 11685 - WebKit is missing SVGPoint.matrixTransform
Summary: WebKit is missing SVGPoint.matrixTransform
Status: RESOLVED DUPLICATE of bug 11734
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.carto.net/papers/svg/gui/s...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 04:07 PST by Eric Seidel (no email)
Modified: 2006-12-03 05:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 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.
Comment 1 Eric Seidel (no email) 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.

Comment 2 Eric Seidel (no email) 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.
Comment 3 Eric Seidel (no email) 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.
Comment 4 Andreas Neumann 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
Comment 5 Nikolas Zimmermann 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 ***
Comment 6 Nikolas Zimmermann 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.