diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index e18eaf0def5..3a86e273832 100644 --- a/layout/tables/nsTableFrame.cpp +++ b/layout/tables/nsTableFrame.cpp @@ -1074,7 +1074,7 @@ nsTableFrame::GetChildLists(nsTArray* aLists) const nsRect nsDisplayTableItem::GetBounds(nsDisplayListBuilder* aBuilder) { - return mFrame->GetVisualOverflowRect() + ToReferenceFrame(); + return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame(); } bool