Bug 110047

Summary: [Regression] SVG images used as background images are incorrectly scaled.
Product: WebKit Reporter: Philip Rogers <pdr>
Component: SVGAssignee: Philip Rogers <pdr>
Status: RESOLVED FIXED    
Severity: Normal CC: d-r, fmalita, schenney, thorton, webkit.review.bot, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 109609    
Attachments:
Description Flags
Testcase
none
Fix scaling of tiled SVG backgrounds on high-dpi displays none

Description Philip Rogers 2013-02-16 21:54:21 PST
Created attachment 188754 [details]
Testcase

Almost certainly a regression from r142765.

SVG images as backgrounds are rendering with scale applied twice on Skia-backed ports. See the attached testcase for an example.
Comment 1 Philip Rogers 2013-02-17 21:58:17 PST
Created attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

A nasty regression: I can't believe we had no test coverage of this!
Comment 2 Philip Rogers 2013-02-18 10:46:22 PST
Comment on attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

Removing the review flag. After sleeping on this, we really need to split this into two patches.
Comment 3 Philip Rogers 2013-02-18 12:23:32 PST
Comment on attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

Re-adding the review flag.

I investigated separating this patch into two and I think landing these together is better after all.
Comment 4 Dirk Schulze 2013-02-18 12:42:08 PST
Comment on attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

LGTM. r=me
Comment 5 Philip Rogers 2013-02-18 12:45:28 PST
Comment on attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

Thanks for the review!
Comment 6 WebKit Review Bot 2013-02-18 13:27:13 PST
Comment on attachment 188796 [details]
Fix scaling of tiled SVG backgrounds on high-dpi displays

Clearing flags on attachment: 188796

Committed r143257: <http://trac.webkit.org/changeset/143257>
Comment 7 WebKit Review Bot 2013-02-18 13:27:16 PST
All reviewed patches have been landed.  Closing bug.