mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1089581 - Convert nsLineBox::SlideBy to use logical coordinates. r=smontagu
This commit is contained in:
parent
30e4cc2ac6
commit
222964d6a8
@ -473,8 +473,10 @@ public:
|
||||
mContainerWidth = aContainerWidth;
|
||||
mBounds.BStart(mWritingMode) += aDBCoord;
|
||||
if (mData) {
|
||||
nsPoint physicalDelta = mozilla::LogicalPoint(mWritingMode, 0, aDBCoord).
|
||||
GetPhysicalPoint(mWritingMode, 0);
|
||||
NS_FOR_FRAME_OVERFLOW_TYPES(otype) {
|
||||
mData->mOverflowAreas.Overflow(otype).y += aDBCoord;
|
||||
mData->mOverflowAreas.Overflow(otype) += physicalDelta;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user