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 15266
20933
Canvas fillText() using a linear or radial gradient for the fill style incorrectly renders the shadow
https://bugs.webkit.org/show_bug.cgi?id=20933
Summary
Canvas fillText() using a linear or radial gradient for the fill style incorr...
John Engelhart
Reported
2008-09-19 00:39:53 PDT
The subject says it all. Mac OS X: 10.5.4 Safari: Version 4.0 (5528.1,
r36519
) Will attach a .html that clearly demonstrates the bug.
Attachments
Simple .html that demonstrates the rendering problem
(2.63 KB, text/html)
2008-09-19 00:43 PDT
,
John Engelhart
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
John Engelhart
Comment 1
2008-09-19 00:43:53 PDT
Created
attachment 23559
[details]
Simple .html that demonstrates the rendering problem This uses an inline javascript code snippet to render some text in a canvas using .fillText(). The only difference between the PASS and FAIL canvases displayed, other than the cosmetic shadow color, is the FAIL canvas uses a radial gradient for the fillText() fillStyle.
John Engelhart
Comment 2
2008-09-19 00:55:26 PDT
I just double checked the bug report and realized it might not be clear exactly what the problem is: The shadow for both canvases are set to the exact same thing (other than the color): X and Y offset of +1, and a blur of 0px. The FAIL convas obviously has an offset of 0, 0, not the expected 1, 1. When using a radial gradient fill, no shadow offset values 'stick', it's always reset to 0, 0. vvvvvv UPDATE: This also fails for linear gradients. ^^^^^^
Michael Lamb
Comment 3
2010-08-19 12:47:59 PDT
This appears to be a dup of
https://bugs.webkit.org/show_bug.cgi?id=15266
Simon Fraser (smfr)
Comment 4
2011-06-02 20:55:11 PDT
*** This bug has been marked as a duplicate of
bug 15266
***
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