зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ad95cf903e
Коммит
9739e1fe6c
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче