Bug 15638

Summary: SVGImage causes malloc errors to print to console on this page
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal Keywords: SVGHitList
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://files.myopera.com/dstorey/experiments/roundedcorners.html
Bug Depends on:    
Bug Blocks: 12095    
Attachments:
Description Flags
Fix, seems to cause regression in fast/images/svg-as-tiled-background.html none

Description Eric Seidel (no email) 2007-10-23 00:26:15 PDT
SVGImage causes malloc errors to print to console on this page

I had a fix for this and never checked it in.  The size() function should use valueAsPercent instead of valueInSpecifiedUnits() or whatever it's currently using.  Right now we're making buffers 10000 times larger than they should be when SVGs don't have a specified size.
Comment 1 Eric Seidel (no email) 2007-10-27 12:54:17 PDT
Created attachment 16903 [details]
Fix, seems to cause regression in fast/images/svg-as-tiled-background.html

I need to find out yet if fast/images/svg-as-tiled-background.html is really a regression.  Not sure why that starts to fail after this fix (or even if it's failing due to this fix or if I just have out-of-date successful results.
Comment 2 Eric Seidel (no email) 2007-11-28 12:20:56 PST
This was fixed by bug 16164.

*** This bug has been marked as a duplicate of 16164 ***