Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner
This commit is contained in:
@@ -950,7 +950,7 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsPresContext* aPresContext,
|
||||
// this line.
|
||||
// XXXbz the line box is not fully reflown yet if our containing block is
|
||||
// relatively positioned...
|
||||
if (lineBox != blockFrame->end_lines()) {
|
||||
if (lineBox != iter.End()) {
|
||||
nsIFrame * firstFrame = lineBox->mFirstChild;
|
||||
PRBool found = PR_FALSE;
|
||||
PRBool allEmpty = PR_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user