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

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: 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
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 390d419a7e79306141689d5bfded55d62b7b31f2..74bc0a2e614aa176b4fccb684a8dc6791391ee15 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;
}

Powered by Google App Engine
This is Rietveld 408576698