[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 22:38:10 PST 2012


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





--- Comment #15 from Dirk Schulze <krit at webkit.org>  2012-12-31 22:40:11 PST ---
(In reply to comment #14)
> (In reply to comment #13)
> > 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.
> 
> Who makes that call? There are 2 implementations that follow the spec. Do we know if WebKit and Firefox are following the SVG spec or do they each have different behavior?

I try to verify this on Wednesday when I am back in the office.

> 
> FYI the canvas spec is in CR so if you want to make this change, it will have to move to LC again.

I don't care about going back to LC for Canvas. I care about interoperable and consistent specs and implementations. And we also seem to have two consistent implementations for another behavior, this argument doesn't really count. If it turns out that webkit and firefox are consistent with SVG, I will request the change for Canvas.

-- 
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