query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky

This commit is contained in:
bmlk%gmx.de 2004-10-16 18:21:15 +00:00
Родитель b84daa8a30
Коммит 5be60c13bc
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext,
} }
// see if we need to reflow the caption in addition // see if we need to reflow the caption in addition
if (aNeedToReflowCaption && !*aNeedToReflowCaption && if (aNeedToReflowCaption && !*aNeedToReflowCaption &&
mInnerTableFrame == aChildFrame) { mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) {
nsHTMLReflowCommand* command = childRS.path->mReflowCommand; nsHTMLReflowCommand* command = childRS.path->mReflowCommand;
if (command) { if (command) {
nsReflowType type; nsReflowType type;

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

@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext,
} }
// see if we need to reflow the caption in addition // see if we need to reflow the caption in addition
if (aNeedToReflowCaption && !*aNeedToReflowCaption && if (aNeedToReflowCaption && !*aNeedToReflowCaption &&
mInnerTableFrame == aChildFrame) { mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) {
nsHTMLReflowCommand* command = childRS.path->mReflowCommand; nsHTMLReflowCommand* command = childRS.path->mReflowCommand;
if (command) { if (command) {
nsReflowType type; nsReflowType type;