Bug 1351926. Set the resize flags to false at the beginning of InitResizeFlags, so stale values from an old (incorrect) computed bsize won't keep being propagated in cases when we SetComputedWidth or SetComputedHeight on the ReflowInput. r=dbaron

MozReview-Commit-ID: 56YFAw3KOmi
This commit is contained in:
Boris Zbarsky 2017-04-05 23:07:40 -04:00
parent a66c62ea91
commit 148f51a721

View File

@ -534,6 +534,9 @@ IsQuirkContainingBlockHeight(const ReflowInput* rs, nsIAtom* aFrameType)
void
ReflowInput::InitResizeFlags(nsPresContext* aPresContext, nsIAtom* aFrameType)
{
SetBResize(false);
SetIResize(false);
const WritingMode wm = mWritingMode; // just a shorthand
// We should report that we have a resize in the inline dimension if
// *either* the border-box size or the content-box size in that