mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
This commit is contained in:
parent
b84daa8a30
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user