[Webkit-unassigned] [Bug 91474] New: REGRESSION (r112229): SVG images don’t scale proportionally when constrained by percentage max-width and max-height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 17 00:29:21 PDT 2012


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

           Summary: REGRESSION (r112229): SVG images don’t scale
                    proportionally when constrained by percentage
                    max-width and max-height
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: NeedsRadar, Regression
          Severity: Normal
          Priority: P1
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org
                CC: zimmermann at kde.org, dino at apple.com,
                    timothy_horton at apple.com


Created an attachment (id=152706)
 --> (https://bugs.webkit.org/attachment.cgi?id=152706&action=review)
Test case

After <http://trac.webkit.org/r112229>, an SVG image with width and height set to auto, max-width and max-height set to 100% does not maintain its aspect ratio when shrinking to fit in the constraints. To reproduce this bug, open the attached test case. The SVG image (yellow) should be square. In Firefox, and in WebKit before r112229 it is. In TOT, it is longer than it is wide.

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