HTML5 spec: http://www.whatwg.org/specs/web-apps/current-work/#colors-and-styles This change will make WebKit pass the following test: http://philip.html5.org/tests/canvas/suite/tests/2d.gradient.interpolate.zerosize.html
Created attachment 58198 [details] Proposed patch
Comment on attachment 58198 [details] Proposed patch LGTM.
Landed the fix in r60911.