Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -431,10 +431,9 @@ nsTableCellFrame::Paint(nsPresContext* aPresContext,
|
||||
nsClipCombine_kIntersect);
|
||||
}
|
||||
else {
|
||||
if (NS_STYLE_OVERFLOW_CLIP == disp->mOverflow ||
|
||||
// XXXldb HIDDEN should really create a scrollframe,
|
||||
// but test here since it doesn't.
|
||||
NS_STYLE_OVERFLOW_HIDDEN == disp->mOverflow ||
|
||||
// XXXldb HIDDEN should really create a scrollframe,
|
||||
// but use |IsTableClip| here since it doesn't.
|
||||
if (disp->IsTableClip() ||
|
||||
HasPctOverHeight()) {
|
||||
aRenderingContext.PushState();
|
||||
pushed = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user