зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1174711
patch 5 - Copy inline-size rather than width from prev-in-flow when initializing nsTableFrame. r=dholbert
This commit is contained in:
Родитель
04d31b315b
Коммит
55b7401f32
|
@ -182,9 +182,10 @@ nsTableFrame::Init(nsIContent* aContent,
|
|||
mTableLayoutStrategy = new FixedTableLayoutStrategy(this);
|
||||
}
|
||||
} else {
|
||||
// set my width, because all frames in a table flow are the same width and
|
||||
// code in nsTableOuterFrame depends on this being set
|
||||
mRect.width = aPrevInFlow->GetSize().width;
|
||||
// Set my isize, because all frames in a table flow are the same isize and
|
||||
// code in nsTableOuterFrame depends on this being set.
|
||||
WritingMode wm = GetWritingMode();
|
||||
SetSize(LogicalSize(wm, aPrevInFlow->ISize(wm), BSize(wm)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче