[Webkit-unassigned] [Bug 86010] . getTransformToElement doesn’t work correctly across embedded svg elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 16:33:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86010





--- Comment #6 from MH <martin.hejral at post.cz>  2012-08-27 16:33:21 PST ---
>From the specs:

http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute

Unlike the ‘transform’ attribute (see effect of the ‘transform’ on sibling attributes), the automatic transformation that is created due to a ‘viewBox’ does not affect the ‘x’, ‘y’, ‘width’ and ‘height’ attributes (or in the case of the ‘marker’ element, the ‘markerWidth’ and ‘markerHeight’ attributes) on the element with the ‘viewBox’ attribute... 

On the other hand, like the ‘transform’ attribute, it does establish a new coordinate system for all other attributes and for descendant elements.

******* all getScreenCTM() matrixes in the same Coordinate System must be identical *******
******* all getTransformToElement() matrixes in the same Coordinate System must be identical *******

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list