mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositionedStyle in nsLineLayout. r=dbaron
This commit is contained in:
parent
0c49e5ec80
commit
6ee6484653
@ -778,7 +778,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
pfd->mMargin = reflowState.mComputedMargin;
|
||||
pfd->mBorderPadding = reflowState.mComputedBorderPadding;
|
||||
pfd->SetFlag(PFD_RELATIVEPOS,
|
||||
(reflowState.mStyleDisplay->mPosition == NS_STYLE_POSITION_RELATIVE));
|
||||
reflowState.mStyleDisplay->IsRelativelyPositionedStyle());
|
||||
if (pfd->GetFlag(PFD_RELATIVEPOS)) {
|
||||
pfd->mOffsets = reflowState.mComputedOffsets;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user