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+

Beth Dakin
Reported 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>
Attachments
HTML of test (229 bytes, text/html)
2007-12-19 14:36 PST, Beth Dakin
no flags
SVG for test (1.57 KB, image/svg+xml)
2007-12-19 14:36 PST, Beth Dakin
no flags
Patch (144.98 KB, patch)
2011-06-01 09:19 PDT, Nikolas Zimmermann
eric: review+
Beth Dakin
Comment 1 2007-12-19 14:36:11 PST
Created attachment 17997
Beth Dakin
Comment 2 2007-12-19 14:36:36 PST
Created attachment 17998 [details] HTML of test
Beth Dakin
Comment 3 2007-12-19 14:36:58 PST
Created attachment 17999 [details] SVG for test
Nikolas Zimmermann
Comment 4 2011-06-01 09:19:44 PDT
Created attachment 95611 [details] Patch Problem is gone, adding Beths testcase to svg/as-image.
Eric Seidel (no email)
Comment 5 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.
Nikolas Zimmermann
Comment 6 2011-06-01 11:36:29 PDT
Landed in r87829.
Note You need to log in before you can comment on or make changes to this bug.