зеркало из https://github.com/mozilla/pjs.git
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
This commit is contained in:
Родитель
9c6451ce9e
Коммит
ed3c7fcddf
|
@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext,
|
|||
}
|
||||
// see if we need to reflow the caption in addition
|
||||
if (aNeedToReflowCaption && !*aNeedToReflowCaption &&
|
||||
mInnerTableFrame == aChildFrame) {
|
||||
mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) {
|
||||
nsHTMLReflowCommand* command = childRS.path->mReflowCommand;
|
||||
if (command) {
|
||||
nsReflowType type;
|
||||
|
|
|
@ -1313,7 +1313,7 @@ nsTableOuterFrame::OuterReflowChild(nsPresContext* aPresContext,
|
|||
}
|
||||
// see if we need to reflow the caption in addition
|
||||
if (aNeedToReflowCaption && !*aNeedToReflowCaption &&
|
||||
mInnerTableFrame == aChildFrame) {
|
||||
mInnerTableFrame == aChildFrame && childRS.reason == eReflowReason_Incremental) {
|
||||
nsHTMLReflowCommand* command = childRS.path->mReflowCommand;
|
||||
if (command) {
|
||||
nsReflowType type;
|
||||
|
|
Загрузка…
Ссылка в новой задаче