This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6895 - SVG elements are not well positioned when drawn in an element with a viewbox
Summary: SVG elements are not well positioned when drawn in an element with a viewbox
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: SVG (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: fred.wang
QA Contact: fred.wang
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 09:39 UTC by fred.wang
Modified: 2009-06-04 10:42 UTC (History)
5 users (show)

See Also:


Attachments
Testcase (403 bytes, image/svg+xml)
2009-05-10 09:39 UTC, fred.wang
Details

Description fred.wang 2009-05-10 09:39:48 UTC
Created attachment 692 [details]
Testcase

Try to draw something inside the pink rectangle.
Comment 1 fred.wang 2009-05-10 09:53:50 UTC
See in thotlib/content/contentapi.c

TtaInverseTransform and TtaSimplifyTransformMatrix
Comment 2 Vatton 2009-05-20 09:45:19 UTC
The problem is now fixed in the CVS version
Comment 3 fred.wang 2009-05-20 17:23:36 UTC
(In reply to comment #2)
> The problem is now fixed in the CVS version
> 

The bug is fixed for basic shapes.
But it seems still present when you draw line, polygons, curves... or apply transformations. For the latter, I think it can not be fixed without modifying the functions I mentioned above.
Comment 4 Vatton 2009-06-04 10:42:22 UTC
It's now fixed also for line, polygons, curves..