Bug 14065
Summary: | CGAffineTransformInvert: singular matrix. spewed to console | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <ml> |
Component: | SVG | Assignee: | Nikolas Zimmermann <zimmermann> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | cmarrin, wac |
Priority: | P2 | Keywords: | NeedsReduction |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://svn.cuboidal.org/wwdc2007/experiments/Analytics/analytics-bug-1.xml |
Antoine Quint
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antoine Quint
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.
Dean Jackson
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
Nikolas Zimmermann
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
Eric Seidel (no email)
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
Eric Seidel (no email)
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.
Nikolas Zimmermann
Eric is right, this was fixed a long time ago.