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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 12:58:18 PST 2012


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





--- Comment #9 from Rik Cabanier <cabanier at adobe.com>  2012-12-28 13:00:22 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > These W3C tests are
> > > 1. Passing on Opera
> > > 2. Failing on FireFox and IE.
> > 
> > Again, are WebKit, IE and FF interoperable? If yes, the spec should change IMO.
> 
> I agree with Dirk. This feature has been in browsers for years, and we should probably not change browser behavior if only Opera matches the spec. Lets investigate getting the specification fixed before we break with Firefox, IE, and WebKit’s own historical behavior in the name of matching the specification wording.

I tried the testcases on ie 10 and it is following the spec. That means that we have 2 shipping implementations.
It really makes sense to disallow this edge case. If the start and end point of a gradient coincide, there is no 'direction' so it's impossible to tell how the gradient is supposed to draw. 
My vote is to fix this in the webkit and mozilla implementations.

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