mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
do not compare with a unconstrained size, bug 390049 r/sr=roc a=mtschrep
This commit is contained in:
parent
d4884cc771
commit
b87613ce0a
@ -1286,7 +1286,8 @@ nsTableRowGroupFrame::Reflow(nsPresContext* aPresContext,
|
||||
// not paginated ... we can't split across columns yet.
|
||||
if (aReflowState.mFlags.mTableIsSplittable &&
|
||||
(NS_FRAME_NOT_COMPLETE == aStatus || splitDueToPageBreak ||
|
||||
aDesiredSize.height > aReflowState.availableHeight)) {
|
||||
(NS_UNCONSTRAINEDSIZE != aReflowState.availableHeight &&
|
||||
aDesiredSize.height > aReflowState.availableHeight))) {
|
||||
// Nope, find a place to split the row group
|
||||
PRBool specialReflow = (PRBool)aReflowState.mFlags.mSpecialHeightReflow;
|
||||
((nsHTMLReflowState::ReflowStateFlags&)aReflowState.mFlags).mSpecialHeightReflow = PR_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user