mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
a66c62ea91
commit
148f51a721
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user