Bug 70314

Summary: Prepare SVGImage intrinsic size negotiation: Add intrinsic size & ratio calculation functionality to Image
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: japhet, webkit.review.bot, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 47156    
Attachments:
Description Flags
Patch none

Nikolas Zimmermann
Reported 2011-10-18 01:15:36 PDT
Add a "void computeIntrinsicDimension(Length& intrinsicWidth, Lengt& intrinsicHeight, FloatSize& intrinsicRatio)" helper method to Image/GeneratedImage/SVGImage and make it accessible through StyleImage. This splits off some parts of bug 47156 into a smaller piece.
Attachments
Patch (15.92 KB, patch)
2011-10-18 01:23 PDT, Nikolas Zimmermann
no flags
Nikolas Zimmermann
Comment 1 2011-10-18 01:23:37 PDT
Created attachment 111408 [details] Patch Split-off another chunk from bug 47156, to aid reducing the total patch size.
Antti Koivisto
Comment 2 2011-10-18 01:32:17 PDT
Comment on attachment 111408 [details] Patch r=me
Nikolas Zimmermann
Comment 3 2011-10-18 01:33:32 PDT
Oops ; missing in one line in SVGImage.cpp - manual merging sucks.. I'll make sure it builds before landing :-)
Early Warning System Bot
Comment 4 2011-10-18 01:34:20 PDT
Gyuyoung Kim
Comment 5 2011-10-18 01:38:09 PDT
Nikolas Zimmermann
Comment 6 2011-10-18 01:38:48 PDT
Landed in r97727.
Note You need to log in before you can comment on or make changes to this bug.