RESOLVED WORKSFORME 50303
[Cairo] Solid shadows in contexts with scaling transformation matrices appear blurry
https://bugs.webkit.org/show_bug.cgi?id=50303
Summary [Cairo] Solid shadows in contexts with scaling transformation matrices appear...
Martin Robinson
Reported 2010-11-30 17:31:40 PST
When figure in a context with a scaling transformation matrix has a solid shadow, that shadow is rendered blurry in proportion to the magnitude of the scale. I believe what's happening here is that cairo is mask and stretching the edge. This can be observed by looking at fast/canvas/canvas-scale-fillPath-shadow.html. The solid shadow has a blurry edge.
Attachments
Current result (32.60 KB, image/png)
2012-06-01 04:40 PDT, Dominik Röttsches (drott)
no flags
Dominik Röttsches (drott)
Comment 1 2012-06-01 04:40:51 PDT
Created attachment 145270 [details] Current result Martin, can you explain a bit more what you think goes wrong? Looking at the source of the test, line 56 has: ctx.shadowBlur = 10; So I believe, the two rightmost red rectangles are actually supposed to have blurry edges. I tested this with Debug GTKLauncher on r119211. So I can't see anything wrong here, we may close this issue.
Martin Robinson
Comment 2 2012-06-01 08:42:46 PDT
Looks okay to me now too. Perhaps this was a bug in Cairo or was fixed by some other change!
Note You need to log in before you can comment on or make changes to this bug.