fillPath() will draw only solid shadows, even with shadowBlur set.
Created attachment 73812 [details] Patch
Comment on attachment 73812 [details] Patch What about filling with a gradient or pattern with alpha? Seems like it won't be covered by this change.
Created attachment 74445 [details] Patch
Created attachment 74449 [details] Test for stroke gradient and fill, not path
Comment on attachment 74449 [details] Test for stroke gradient and fill, not path Added this patch to the wrong bug.
Comment on attachment 74445 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=74445&action=review Looks good, except one thing: > WebCore/platform/graphics/qt/GraphicsContextQt.cpp:550 > + QPainter* shadowPainter = shadow->beginShadowLayer(p, path.boundingRect()); QPainterPath::boundingRect() is slow, you should use the controlPointRect() trick here since you only need an approximation.
Created attachment 74468 [details] Use the faster controlPointRect()
Comment on attachment 74468 [details] Use the faster controlPointRect() r=me
Comment on attachment 74468 [details] Use the faster controlPointRect() Clearing flags on attachment: 74468 Committed r72472: <http://trac.webkit.org/changeset/72472>
All reviewed patches have been landed. Closing bug.