Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1477)

Unified Diff: third_party/WebKit/WebCore/rendering/RenderTableCell.cpp

Issue 10670: Do another merge using nifty new merge script (CL for that coming soon). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/rendering/RenderTableCell.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderTableCell.cpp (revision 5296)
+++ third_party/WebKit/WebCore/rendering/RenderTableCell.cpp (working copy)
@@ -203,7 +203,7 @@
// Rows are in the same coordinate space, so don't add their offset in.
localPoint.move(-parent()->xPos(), -parent()->yPos());
}
- return RenderBlock::localToAbsolute(localPoint, fixed, useTransforms);;
+ return RenderBlock::localToAbsolute(localPoint, fixed, useTransforms);
}
FloatPoint RenderTableCell::absoluteToLocal(FloatPoint containerPoint, bool fixed, bool useTransforms) const
@@ -216,6 +216,16 @@
return localPoint;
}
+FloatQuad RenderTableCell::localToAbsoluteQuad(const FloatQuad& localQuad, bool fixed) const
+{
+ FloatQuad quad = localQuad;
+ if (parent()) {
+ // Rows are in the same coordinate space, so don't add their offset in.
+ quad.move(-parent()->xPos(), -parent()->yPos());
+ }
+ return RenderBlock::localToAbsoluteQuad(quad, fixed);
+}
+
int RenderTableCell::baselinePosition(bool /*firstLine*/, bool /*isRootLineBox*/) const
{
// <http://www.w3.org/TR/2007/CR-CSS21-20070719/tables.html#height-layout>: The baseline of a cell is the baseline of
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderTableCell.h ('k') | third_party/WebKit/WebCore/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698