зеркало из https://github.com/mozilla/gecko-dev.git
Bug 843332 - Pass 'false' to ReparentFloats since we only added one frame ('true' only works because the added frame never has any siblings in this case). r=bzbarsky
This commit is contained in:
Родитель
063882b856
Коммит
352261b197
|
@ -2572,9 +2572,9 @@ nsBlockFrame::PullFrameFrom(nsLineBox* aLine,
|
|||
ReparentFrame(frame, aFromContainer, this);
|
||||
mFrames.AppendFrame(nullptr, frame);
|
||||
|
||||
// The frame might have (or contain) floats that need to be
|
||||
// brought over too.
|
||||
ReparentFloats(frame, aFromContainer, true);
|
||||
// The frame might have (or contain) floats that need to be brought
|
||||
// over too. (pass 'false' since there are no siblings to check)
|
||||
ReparentFloats(frame, aFromContainer, false);
|
||||
} else {
|
||||
MOZ_ASSERT(aLine == aFromLine.prev());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче