WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
29422
[Qt] Webkit: Canvas clearRect should use transparent black color not opaque white
https://bugs.webkit.org/show_bug.cgi?id=29422
Summary
[Qt] Webkit: Canvas clearRect should use transparent black color not opaque w...
Tor Arne Vestbø
Reported
2009-09-18 07:41:51 PDT
This bug report originated from issue QTBUG-3949 <
http://bugreports.qt.nokia.com/browse/QTBUG-3949
> --- Description --- <canvas> clearRect does not use transparent black color instead it uses white color. This is different from other webkit based browsers thet currently clear with transparent black color.
Attachments
clearRect
(376 bytes, text/html)
2009-09-30 02:52 PDT
,
Dirk Schulze
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2009-09-30 01:50:32 PDT
I can't open the original bug at nokia but it doesn't seem valid. A given rect is "filled" or better reseted to transparent black by: p->fillRect(rect, Qt::transparent); Qt::transparent is transparent black (
http://doc.trolltech.com/4.4/qt.html#GlobalColor-enum
). Can we close this bug?
Dirk Schulze
Comment 2
2009-09-30 02:52:26 PDT
Created
attachment 40354
[details]
clearRect This example shows the use of clearRect. If clearRect works like expacted, you should see a green page and a black border at the top left. This rect schould be filled with green (transparent black of the clearRect). This example works for me on QtLauncher. I close this bug for now. Please reopen the bug if you have another example, that doesn't work.
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