Bug 17552

Summary: SVG images not working as background-image
Product: WebKit Reporter: Sjoerd Tieleman (tieleman) <sjoerd>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: nickshanks, webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Example HTML file
none
Example SVG file
none
standalone test case none

Description Sjoerd Tieleman (tieleman) 2008-02-26 05:55:37 PST
It appears that SVG images are currently not working as a background image. See attached examples.
HTML file contains a div which should have a SVG as a background-image (CSS). Supplied SVG image does work when simply used in an img tag.
Comment 1 Sjoerd Tieleman (tieleman) 2008-02-26 05:56:12 PST
Created attachment 19372 [details]
Example HTML file
Comment 2 Sjoerd Tieleman (tieleman) 2008-02-26 05:56:45 PST
Created attachment 19373 [details]
Example SVG file
Comment 3 Robert Blaut 2008-03-18 16:37:13 PDT
Confirmed in Webkit r31132 on Mac OS X 10.5.
Comment 4 Robert Blaut 2008-03-20 00:58:46 PDT
Created attachment 19894 [details]
standalone test case

This test works out of box.
Comment 5 Simon Fraser (smfr) 2008-12-30 21:20:17 PST

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