Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc
This commit is contained in:
@@ -923,7 +923,7 @@ nsTableRowFrame::ReflowChildren(nsPresContext* aPresContext,
|
||||
|
||||
desiredSize.width = cellDesiredSize.width;
|
||||
desiredSize.height = cellDesiredSize.height;
|
||||
if (cellFrame->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN)
|
||||
if (cellFrame->HasOverflowRect())
|
||||
desiredSize.mOverflowArea = cellFrame->GetOverflowRect();
|
||||
else
|
||||
desiredSize.mOverflowArea.SetRect(0, 0, cellDesiredSize.width,
|
||||
|
||||
Reference in New Issue
Block a user