mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
[layout] Always move descendants of layout frames if moved.
If we move the frame then we always need to move any descendant views, not just in case the frame itself has a view.
This commit is contained in:
parent
ce621f34df
commit
ece5e76725
1 changed files with 2 additions and 0 deletions
|
|
@ -1031,6 +1031,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
|
|||
|
||||
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
|
||||
PositionFrameView(aKidFrame);
|
||||
PositionChildViews(aKidFrame);
|
||||
}
|
||||
|
||||
// Reflow the child frame
|
||||
|
|
@ -1074,6 +1075,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
|
|||
|
||||
if (0 == (aFlags & NS_FRAME_NO_MOVE_VIEW)) {
|
||||
PositionFrameView(aKidFrame);
|
||||
PositionChildViews(aKidFrame);
|
||||
}
|
||||
|
||||
// Reflow the child frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue