[whatwg] gradient edge case
cabanier at gmail.com
Sat Sep 1 18:58:45 PDT 2012
Currently the canvas spec specifies the following:
If x0 = x1 and y0 = y1, then the linear gradient must paint nothing.
If x0 = x1 and y0 = y1 and r0 = r1, then the radial gradient must paint
Why is this? It seems that the gradient should just be a line or circle
that has the first colorstop's on the left/inside and the last colorstop's
color on the right/outside.
More information about the whatwg