[Webkit-unassigned] [Bug 36659] Canvas linewidth = 0 Not working correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 6 01:08:21 PDT 2010


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
                 CC|                            |krit at webkit.org
     Ever Confirmed|0                           |1

--- Comment #1 from Dirk Schulze <krit at webkit.org>  2010-06-06 01:08:18 PST ---
This is caused by the early return in http://trac.webkit.org/browser/trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp#L218

Are there any reasons for this? We have checks in strokeRect and other methods that return on strokeWidth of 0. I think we can change if (!(isfinite(width) && width > 0)) to if (!isfinite(width) || width < 0)).

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