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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp

Issue 2816983002: LayoutTableCell::OffsetFromContainer() should use the flipped offset of its parent. (Closed)
Patch Set: Reformat the test Created 3 years, 8 months 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Element/getBoundingClientRect-vertical-child.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 14dc86695534739603ece0f62b1be09ef692d49e..de326cdfb992dc66202ef9da275339cbf6c1d6e6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -401,7 +401,7 @@ LayoutSize LayoutTableCell::OffsetFromContainer(const LayoutObject* o) const {
LayoutSize offset = LayoutBlockFlow::OffsetFromContainer(o);
if (Parent())
- offset -= ParentBox()->LocationOffset();
+ offset -= ParentBox()->PhysicalLocationOffset();
return offset;
}
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Element/getBoundingClientRect-vertical-child.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698