UNCONFIRMED 65792
translateZ(0) causes 'fuzzy' display <img> with SVG source
https://bugs.webkit.org/show_bug.cgi?id=65792
Summary translateZ(0) causes 'fuzzy' display <img> with SVG source
Michael O'Rourke
Reported 2011-08-05 14:51:35 PDT
Created attachment 103118 [details] Simple example for the bug The attached zip contains a HTML and SVG file. The HTML includes the SVG content in two separate <img> tags. The only difference between the two <img> tags is that the second (the right image) has translateZ(0) specified. This causes a fuzzy display of the image. The problem does not exist in Firefox 5 or IE 9.
Attachments
Simple example for the bug (31.75 KB, application/x-zip-compressed)
2011-08-05 14:51 PDT, Michael O'Rourke
no flags
Lion/Safari5.1 (57.46 KB, image/png)
2011-08-08 10:12 PDT, Tim Horton
no flags
Example display in Chrome 13.0.782.107 on Win7-64bit (117.77 KB, image/png)
2011-08-08 10:18 PDT, Michael O'Rourke
no flags
Alexey Proskuryakov
Comment 1 2011-08-06 19:09:28 PDT
Is this limited to text, as in the example? In that case, this looks like a duplicate of bug 23364.
Michael O'Rourke
Comment 2 2011-08-08 09:56:32 PDT
No, this isn't just about text. In the file, there are two columns. The first (i.e. 'Actual') is live SVG text. The second (i.e. 'Expected') is actually outlines of the text saved as paths in the SVG. Both columns get incorrectly displayed.
Michael O'Rourke
Comment 3 2011-08-08 09:58:12 PDT
I have some additional information. This issue seems to be related to subpixel placement. In the HTML file the SVG content is being moved with 'translate(3px, 5.45px)'. If the '5.45' is changed to '5' or '6' then the problem doesn't happen.
Simon Fraser (smfr)
Comment 4 2011-08-08 10:02:02 PDT
The test case is very confusing. Are you using SVG fonts here? And rather than "Actual' and "Expected", please label the columns with what they really are.
Tim Horton
Comment 5 2011-08-08 10:12:52 PDT
Created attachment 103259 [details] Lion/Safari5.1 Also, can you attach a screenshot of what it looks like for you?
Michael O'Rourke
Comment 6 2011-08-08 10:18:39 PDT
Created attachment 103260 [details] Example display in Chrome 13.0.782.107 on Win7-64bit
Note You need to log in before you can comment on or make changes to this bug.