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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 2 10:46:58 PST 2013


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





--- Comment #20 from Dirk Schulze <krit at webkit.org>  2013-01-02 10:48:57 PST ---
(In reply to comment #19)
> (In reply to comment #18)
> > (In reply to comment #17)
> > 
> > > Firefox draws a vertical green stripe next to a vertical yellow stripe. This is not correct according to SVG or Canvas spec.
> > > 
> > > Safari and Chrome don't paint anything.
> > 
> > IE and Opera don't paint anything either.
> 
> So we have 3 independent implementations...

I see the problem now. There is a difference between using

    fillRect(0,0,100,100)

and 

    rect(0,0,100,100)
    fill();

Means we use a different logic for Path and Rect, which is not good.

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