The conversion between HTML5 gradients and QRadialGradient values can overflow a tiny bit (1.00000002 anyone?) QGradient::addColorStop() will silently (release builds) ignore these color stops.
Created attachment 60285 [details] Proposed patch
Oops, that's QGradient::setColorAt(). addColorStop() is the CanvasGradient counterpart.
Comment on attachment 60285 [details] Proposed patch qMin(lastStop, 1.0f)
Created attachment 60287 [details] Proposed patch v2 *cough* Updated to use qMin() for less fugliness.
Comment on attachment 60287 [details] Proposed patch v2 <3
(In reply to comment #5) > <3 <3
Comment on attachment 60287 [details] Proposed patch v2 Clearing flags on attachment: 60287 Committed r62353: <http://trac.webkit.org/changeset/62353>
All reviewed patches have been landed. Closing bug.
Adding as release blocker since it fixes display artifacts on some popular canvas demos.
Revision r62353 cherry-picked into qtwebkit-2.0 with commit 6621e196cc9e867434eab580b02fe1dee1d9141e