Bug 11685
Summary: | WebKit is missing SVGPoint.matrixTransform | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | SVG | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
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)
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)
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
Here is another testcase, simpler than the slider example:
http://www.carto.net/neumann/webkitsvgbugs/SVGPoint_test.svg
Nikolas Zimmermann
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
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.