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:
Boris Zbarsky
2009-05-11 22:04:58 -04:00
parent 9628133374
commit 3f790e3d67
19 changed files with 272 additions and 14 deletions

View File

@@ -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.