[Webkit-unassigned] [Bug 105650] Quadratic and bezier curves with coincident endpoints rendered incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 7 08:34:51 PST 2013


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


youenn fablet <youennf at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |youennf at gmail.com




--- Comment #2 from youenn fablet <youennf at gmail.com>  2013-01-07 08:36:46 PST ---
I came across this bug description when searching for a potential bug related to CanvasRenderingContext2D::arcTo.
If that is not already done, I can propose a patch fixing this bug and adding corresponding test cases. Probably the test cases could follow the style of the current canvas test suite, something like a green rectangle generation:

<canvas id="myCanvas" width="100" height="50">
</canvas>
<script>
var canvas = document.getElementById('myCanvas');
var ctx = canvas.getContext('2d');
ctx.beginPath();
ctx.moveTo(0, 0);
ctx.bezierCurveTo(100, 0, 0, 50, 0, 0);
ctx.lineWidth = 150;
ctx.strokeStyle = '#0f0';
ctx.stroke();
</script>

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