Bug 1207157 patch 3 - Don't bother passing around the inline-end margin of replaced elements we consider clearing past floats, since we don't need it any more. r=jfkthame

--HG--
extra : commitid : HRqckWRd8My
This commit is contained in:
L. David Baron 2015-09-27 02:19:14 -07:00
Родитель ad95cf903e
Коммит 9739e1fe6c
2 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -7338,7 +7338,6 @@ nsBlockFrame::ISizeToClearPastFloats(const nsBlockReflowState& aState,
LogicalMargin computedMargin =
offsetState.ComputedLogicalMargin().ConvertTo(wm, frWM);
result.marginIStart = computedMargin.IStart(wm);
result.marginIEnd = computedMargin.IEnd(wm);
return result;
}

Просмотреть файл

@ -319,9 +319,9 @@ public:
* care about (which need not be its current mBCoord)
*/
struct ReplacedElementISizeToClear {
nscoord marginIStart, borderBoxISize, marginIEnd;
nscoord MarginBoxISize() const
{ return marginIStart + borderBoxISize + marginIEnd; }
// Note that we care about the inline-start margin but can ignore
// the inline-end margin.
nscoord marginIStart, borderBoxISize;
};
static ReplacedElementISizeToClear
ISizeToClearPastFloats(const nsBlockReflowState& aState,