Reviewed by hyatt.
REGRESSION: When dragging a link on a page, the selected link doesn't display it's name or URL
http://bugzilla.opendarwin.org/show_bug.cgi?id=10819
http://bugzilla.opendarwin.org/show_bug.cgi?id=10814
No test cases were harmed in the coding of the patch.
* platform/mac/WebCoreTextRenderer.mm:
(WebCoreDrawTextAtPoint):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16318
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-09-11 Eric Seidel <eric@eseidel.com>
+
+ Reviewed by hyatt.
+
+ REGRESSION: When dragging a link on a page, the selected link doesn't display it's name or URL
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=10819
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=10814
+
+ No test cases were harmed in the coding of the patch.
+
+ * platform/mac/WebCoreTextRenderer.mm:
+ (WebCoreDrawTextAtPoint):
+
2006-09-11 David Hyatt <hyatt@apple.com>
Fix for bug 8126, column widths apply to the border boxes of cells.
CGFloat red, green, blue, alpha;
[[textColor colorUsingColorSpaceName:NSDeviceRGBColorSpace] getRed:&red green:&green blue:&blue alpha:&alpha];
graphicsContext.setPen(makeRGBA((int)(red * 255), (int)(green * 255), (int)(blue * 255), (int)(alpha * 255)));
- renderer.drawText(&graphicsContext, run, style, FloatPoint(point.x, point.y));
+ renderer.drawText(&graphicsContext, run, style, FloatPoint(point.x, (flipped ? point.y : (-1.0f * point.y))));
if (!flipped)
CGContextScaleCTM(cgContext, 1.0, -1.0);
}