Bug 16518

Summary: Permanent red background when SVG is used as a background image (DEBUG ONLY)
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: eric
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
HTML of test
none
SVG for test
none
Patch eric: review+

Description Beth Dakin 2007-12-19 14:34:40 PST
If an SVG is used as a non-tiling background image and it does not take up the entire space of the element it is the background of, Debug builds always paint a red background behind the image, even when a different color is specified. The red background does not correct itself when you force a repaint. 

I have attached a screenshot of Debug and Release builds, and a test case that shows the problem.

<rdar://problem/5643240>
Comment 1 Beth Dakin 2007-12-19 14:36:11 PST
Created attachment 17997
Comment 2 Beth Dakin 2007-12-19 14:36:36 PST
Created attachment 17998 [details]
HTML of test
Comment 3 Beth Dakin 2007-12-19 14:36:58 PST
Created attachment 17999 [details]
SVG for test
Comment 4 Nikolas Zimmermann 2011-06-01 09:19:44 PDT
Created attachment 95611 [details]
Patch

Problem is gone, adding Beths testcase to svg/as-image.
Comment 5 Eric Seidel (no email) 2011-06-01 09:24:20 PDT
Comment on attachment 95611 [details]
Patch

OK.  I suspect we could make the test case simpler.  But this is OK too.
Comment 6 Nikolas Zimmermann 2011-06-01 11:36:29 PDT
Landed in r87829.