[Webkit-unassigned] [Bug 91474] 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
Wed Jul 18 16:35:47 PDT 2012


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





--- Comment #5 from Dean Jackson <dino at apple.com>  2012-07-18 16:35:46 PST ---
The issue is that RenderReplaced::computeIntrinsicRatioInformationForRenderBox has a content renderer in the SVG case, but not in the PNG case.

This means the SVG path calls contentRenderer->computeIntrinsicRatioInformation which returns 300x300, and the PNG path calls this->computeIntrinsicRatioInformation which returns 300x200.

I don't know why 300x200 is the correct answer, but later code sets the width to the right value, making it 200x200.

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