зеркало из https://github.com/mozilla/gecko-dev.git
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
This commit is contained in:
Родитель
b84daa8a30
Коммит
5be60c13bc
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче