[Webkit-unassigned] [Bug 27190] New: SVG embedded in HTML object: transparent image areas white rather than background-color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 12 08:52:39 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27190

           Summary: SVG embedded in HTML object: transparent image areas
                    white rather than background-color
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gbrauen at connect.carleton.ca


Created an attachment (id=32626)
 --> (https://bugs.webkit.org/attachment.cgi?id=32626)
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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list