WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 27078
27190
SVG embedded in HTML object: transparent image areas white rather than background-color
https://bugs.webkit.org/show_bug.cgi?id=27190
Summary
SVG embedded in HTML object: transparent image areas white rather than backgr...
Glenn Brauen
Reported
2009-07-12 08:52:38 PDT
Created
attachment 32626
[details]
test case html file. When embedding an SVG image in an HTML <object> and scaling the SVG image so that it does not clip (the default behaviour), the images transparent areas should be filled with the background-color of the HTML area into which the image is embedded. Using Safari 4.0.2 the transparent areas of the image are coloured white. Using Safari 4.0.1, Safari 3, and Firefox 3 the transparent areas are coloured using the defined background-color so this is a recent change in webkit. I've attached a test case in two parts: HTML file that embeds a SVG file so that there are transparent areas. To reproduce: 1) download the test files. 2) open index.html. The border should be filled with the lightgreen background-color but in Safari 4.0.2 will be white.
Attachments
test case html file.
(910 bytes, text/html)
2009-07-12 08:52 PDT
,
Glenn Brauen
no flags
Details
test case svg file.
(399 bytes, image/svg+xml)
2009-07-12 08:54 PDT
,
Glenn Brauen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Glenn Brauen
Comment 1
2009-07-12 08:54:21 PDT
Created
attachment 32627
[details]
test case svg file.
Mark Rowe (bdash)
Comment 2
2009-07-12 10:48:52 PDT
*** This bug has been marked as a duplicate of
bug 27078
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug