[Webkit-unassigned] [Bug 81631] New: <img style='width: 100%' src='foo.svg'> gets pixellated when stretched

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 22:24:11 PDT 2012


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

           Summary: <img style='width: 100%' src='foo.svg'> gets
                    pixellated when stretched
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bonusfrogs at gmail.com
                CC: zimmermann at kde.org


Created an attachment (id=132756)
 --> (https://bugs.webkit.org/attachment.cgi?id=132756&action=review)
test case (requires island.svg)

# Overview

When I use an SVG image with the img tag and set its width to 100%, the image will look pixellated (as if it were a scaled-up bitmap) if the image's container is wider than the SVG's own size (set with `width`, `height`, and `viewBox`).


# Steps to reproduce

1) View attached test case in a browser window.
2) Ensure that the browser window is significantly wider than 300 pixels. Most normal desktop browser window widths should work.


# Actual results

The black stroke looks fuzzy and pixellated.


# Expected results

The black stroke should look smoothly scaled up as in the browsers that display this OK (see below)


# Build Date & Platform

The first WebKit nightly that I noticed this behavior in is 5.1.3 (7534.53.10, r111220).


# Additional Builds and Platforms

Safari 5.1.3 (7534.53.10)/OS X: OK
Safari/iOS 5.1 (9B176):         OK
Chrome 17.0.963.79/OS X:        FAIL
Chrome 17.0.963.79/Vista:       FAIL
Firefox 11.0/OS X:              OK
IE 9.0.8112.16421/Vista:        OK

-- 
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