зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1127679 - Fix use of incorrect writing mode in flex-item relative positioning. r=smontagu
This commit is contained in:
Родитель
909e578fea
Коммит
f665472a1c
|
@ -3885,7 +3885,11 @@ nsFlexContainerFrame::ReflowFlexItem(nsPresContext* aPresContext,
|
|||
"We gave flex item unconstrained available height, so it "
|
||||
"should be complete");
|
||||
|
||||
childReflowState.ApplyRelativePositioning(&aFramePos, aContainerWidth);
|
||||
LogicalMargin offsets =
|
||||
childReflowState.ComputedLogicalOffsets().ConvertTo(outerWM, wm);
|
||||
nsHTMLReflowState::ApplyRelativePositioning(aItem.Frame(), outerWM,
|
||||
offsets, &aFramePos,
|
||||
aContainerWidth);
|
||||
|
||||
FinishReflowChild(aItem.Frame(), aPresContext,
|
||||
childDesiredSize, &childReflowState,
|
||||
|
|
Загрузка…
Ссылка в новой задаче