Created attachment 168978 [details] Resource for resolution-test.svg Chromium issue: http://code.google.com/p/chromium/issues/detail?id=119693 SVGImageCache::lookupOrCreateBitmapImageForRenderer() doesn't take transform scaling into account when calculating the image buffer size. Thus SVG images are cached at the wrong resolution and show resampling artifacts when served from cache (on page reload for example). Open resolution-test.svg - a sharp-edged triangle is displayed. Reload the page - the triangle is blurred (resampled from a low-res cached image).
Created attachment 168983 [details] resolution-test.svg - shows a resampled image on reload.
Created attachment 168996 [details] Patch
Unfortunately the test seems to only pass when run independently, for what appears to be another SVG image sizing bug (transform scale is ignored on the first load). I'll open a separate issue and mark it blocking.
If it should not get reviewed now, can you remove the flag then?
The patch should be ready for review. What I meant is that (at least on my workstation) the new test is failing when run in batch mode for an unrelated reason. That doesn't seem to be a problem on the bots though, and even if it turns out to be we can mark it failing and point to the separate bug I've opened.
This seems to clash with bug 98403. Can you make sure the more general patch in bug 98403 fixes your issues as well?
*** Bug 85335 has been marked as a duplicate of this bug. ***
ping. Any progress on this? Not taking CSS transform into consideration can put a lot of memory pressure on devices like android.
Comment on attachment 168996 [details] Patch I gues this is not valid anymore. Can you remove the review flag and close the bug? Or do I miss something?
Comment on attachment 168996 [details] Patch We now properly handle this. Clearing the review flag.