Bug 692968 - Make nsDisplayTableItem::GetBounds return the untransformed overflow area. r=tn

This commit is contained in:
Matt Woodrow 2011-10-13 14:01:27 +13:00
parent d3b7077c0c
commit 3da7419584

View File

@ -1074,7 +1074,7 @@ nsTableFrame::GetChildLists(nsTArray<ChildList>* aLists) const
nsRect
nsDisplayTableItem::GetBounds(nsDisplayListBuilder* aBuilder) {
return mFrame->GetVisualOverflowRect() + ToReferenceFrame();
return mFrame->GetVisualOverflowRectRelativeToSelf() + ToReferenceFrame();
}
bool