[Webkit-unassigned] [Bug 41420] Canvas: arc() with startAngle == endAngle shouldn't add to the path
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 30 11:50:52 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41420
Andreas Kling <andreas.kling at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60131|0 |1
is obsolete| |
Attachment #60139| |review?, commit-queue?
Flag| |
--- Comment #3 from Andreas Kling <andreas.kling at nokia.com> 2010-06-30 11:50:52 PST ---
Created an attachment (id=60139)
--> (https://bugs.webkit.org/attachment.cgi?id=60139)
Proposed patch v2
Only unskip test on Qt, test also uses arcTo() which isn't up-to-spec on Mac I guess.
Unfortunately I can't verify that since I don't have a Mac dev env handy.
The missing logic as implemented in Qt's Path::addArcTo():
FloatPoint p0(m_path.currentPosition());
if ((p1.x() == p0.x() && p1.y() == p0.y()) || (p1.x() == p2.x() && p1.y() == p2.y()) || radius == 0.f) {
m_path.lineTo(p1);
return;
}
--
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