Bug 14065 - CGAffineTransformInvert: singular matrix. spewed to console
Summary: CGAffineTransformInvert: singular matrix. spewed to console
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nikolas Zimmermann
URL: http://svn.cuboidal.org/wwdc2007/expe...
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2007-06-10 20:49 PDT by Antoine Quint
Modified: 2011-05-31 00:32 PDT (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 Antoine Quint 2007-06-10 20:49:28 PDT
This content shows an SVG graph dynamically generated from an XML data source. Text should appear, rendered in SVG, at the bottom of the graph, showing dates.

With WebKit r22084, the text does not show there, unless you resize the window. And even then, once the user hovers the graph, the text labels are hidden again. This works as expected in FF 3.0a5 and Opera 9.21.
Comment 1 Antoine Quint 2007-06-10 20:53:33 PDT
Using the SVG content as a stand-alone SVG document does not exhibit the bug at all, it seems clearly related to the SVG being positioned within a CSS layout. In the following example, the <h1> has been removed, the explicit CSS margin between the <select> and <div> containing the <svg> removed too, and CSS margin set to 0 on the <body> element:

http://svn.cuboidal.org/wwdc2007/experiments/Analytics/analytics-bug-2.xml

In this case, the text renders just fine.
Comment 2 Dean Jackson 2007-06-10 21:17:20 PDT
Changed URLs to public space. That SVN repository is private until after WWDC.

http://grorg.org/junk/Analytics/analytics-bug-1.xml
http://grorg.org/junk/Analytics/analytics-bug-2.xml
Comment 3 Nikolas Zimmermann 2007-07-23 03:38:03 PDT
Hey Dean & Antoine,

thanks a lot for the BR. I'm currently on the road to fix all SVG text problems occuring when embedded in HTML.

Will update the bug report, once it's fixed.

Greetings,
Niko
Comment 4 Eric Seidel (no email) 2007-09-26 17:37:46 PDT
This seems to work fine on the feature branch.  I see lots of these:

CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.
CGAffineTransformInvert: singular matrix.

in my console however.

You can confirm that it works to your satisfaction using a feature-branch nightly:
http://nightly.webkit.org/builds/mac-feature-branch/1
Comment 5 Eric Seidel (no email) 2007-12-27 01:48:55 PST
I was pretty sure I fixed these a month or so ago as part of a different commit.  But there are still 2 which seem to appear in the logs.
Comment 6 Nikolas Zimmermann 2011-05-31 00:32:54 PDT
Eric is right, this was fixed a long time ago.