[Webkit-unassigned] [Bug 64040] New: [Qt] -webkit-mask-image applies color from the mask to the masked image with the native render system

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 6 15:42:57 PDT 2011


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

           Summary: [Qt] -webkit-mask-image applies color from the mask to
                    the masked image with the native render system
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jfaust at suitabletech.com
                CC: jfaust at suitabletech.com


This is using Qt 4.7.3 (QtWebKit 2.1) built from source, on OSX 10.6. I'm currently cloning the qtwebkit-2.2-beta1 branch from gitorious, but it's been a couple hours and looks like it'll be a few more, and even if this is fixed it would be nice to have it on record (I didn't find anything when searching).

Using -webkit-mask-image seems to apply the color in the mask somehow to the thing it's masking. I haven't figured out yet exactly what it's doing with the color, but it's not just using the alpha value like it should. The raster render system works properly.

The wrong version has a black circle with a background gradient going from black to white. The correct version should have a blue circle that fades out towards the bottom, with a white background.

The attached code demonstrates this -- if you open masking.html in chrome or safari, you can see the correct behavior. You can also see the correct behavior if you pass "-graphicssystem raster" to the generated executable.

Linux and Windows both work correctly.

-- 
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