[Webkit-unassigned] [Bug 102654] Zero size gradient should paint nothing on canvas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 31 18:03:04 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102654


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at hixie.ch




--- Comment #13 from Dirk Schulze <krit at webkit.org>  2012-12-31 18:05:05 PST ---
This is what SVG is saying:

""
If ‘x1’ = ‘x2’ and ‘y1’ = ‘y2’, then the area to be painted will be painted as a single color using the color and opacity of the last gradient stop.
""

Wouldn't it make sense to align the specs in this point? Isn't it that what WebKit and Firefox are doing? It is not important if something makes sense from a mathematical point of view, if it is well defined. In this case Canvas should follow SVG IMO.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list