SVN commit 769274 by fredrik: Update a comment in arcTo() to reflect a change in the HTML5 spec. M +2 -3 html_canvasimpl.cpp --- trunk/KDE/kdelibs/khtml/html/html_canvasimpl.cpp #769273:769274 @@ -1284,9 +1284,8 @@ float tDist = std::cos(theta / 2.0) * h; // As theta approaches 0, the distance to the two tangent points approach infinity. - // If we exceeded the limit, draw a long line toward the first tangent point. - // This matches CoreGraphics and Postscript behavior, but violates the HTML5 spec, - // which says we should do nothing in this case. + // If we exceeded the data type limit, draw a long line toward the first tangent point. + // This matches CoreGraphics and Postscript behavior. if (KJS::isInf(h) || KJS::isInf(tDist)) { QPointF point(line1.p2().x() + std::cos(angle1) * 1e10, line1.p2().y() + std::sin(angle1) * 1e10);