[Webkit-unassigned] [Bug 99481] New: SVGImageCache is caching images at wrong resolution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 16 11:02:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99481

           Summary: SVGImageCache is caching images at wrong resolution
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fmalita at chromium.org
                CC: zimmermann at kde.org, krit at webkit.org, pdr at google.com,
                    schenney at chromium.org


Created an attachment (id=168978)
 --> (https://bugs.webkit.org/attachment.cgi?id=168978&action=review)
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).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list