WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
64040
[Qt] -webkit-mask-image applies color from the mask to the masked image with the native render system on OSX
https://bugs.webkit.org/show_bug.cgi?id=64040
Summary
[Qt] -webkit-mask-image applies color from the mask to the masked image with ...
Josh Faust
Reported
2011-07-06 15:42:58 PDT
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.
Attachments
Example code and html which demonstrates the behavior
(11.53 KB, application/x-gzip)
2011-09-01 15:01 PDT
,
Josh Faust
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Josh Faust
Comment 1
2011-09-01 15:01:17 PDT
Created
attachment 106037
[details]
Example code and html which demonstrates the behavior
Josh Faust
Comment 2
2011-09-01 15:03:22 PDT
Forgot to add the attachment before, it's there now. I was never able to successfully build qtwebkit-2.2 standalone so I don't know if this problem still exists. We've removed our use of masking for other performance reasons so I haven't tried it with the Qt 4.8 beta either.
Jocelyn Turcotte
Comment 3
2014-02-03 03:18:10 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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