зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1322257. Always position child views in nsContainerFrame::ReflowChild. r=dholbert
If we move the frame then we need to move any descendant views, not just if the frame itself has a view.
This commit is contained in:
Родитель
3428a70b8d
Коммит
4bb75904c6
|
@ -1021,6 +1021,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
|
|||
|
||||
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
|
||||
PositionFrameView(aKidFrame);
|
||||
PositionChildViews(aKidFrame);
|
||||
}
|
||||
|
||||
// Reflow the child frame
|
||||
|
@ -1064,6 +1065,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
|
|||
|
||||
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
|
||||
PositionFrameView(aKidFrame);
|
||||
PositionChildViews(aKidFrame);
|
||||
}
|
||||
|
||||
// Reflow the child frame
|
||||
|
|
Загрузка…
Ссылка в новой задаче