Bug 480452. Make {ib} splits behave the same way with regard to margins, borders, and padding as inline frames that just have a line-break happening inside them do. r+sr=dbaron
This commit is contained in:
@@ -499,9 +499,9 @@ SetFrameIsSpecial(nsIFrame* aFrame, nsIFrame* aSpecialSibling)
|
||||
}
|
||||
|
||||
if (aSpecialSibling) {
|
||||
// We should be the first-in-flow
|
||||
NS_ASSERTION(!aFrame->GetPrevInFlow(),
|
||||
"assigning special sibling to other than first-in-flow!");
|
||||
// We should be the first continuation
|
||||
NS_ASSERTION(!aFrame->GetPrevContinuation(),
|
||||
"assigning special sibling to other than first continuation!");
|
||||
|
||||
// Store the "special sibling" (if we were given one) with the
|
||||
// first frame in the flow.
|
||||
|
||||
Reference in New Issue
Block a user