Added support for StyleChanged reflow reason
git-svn-id: svn://10.0.0.236/trunk@15020 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1756,7 +1756,8 @@ nsBlockFrame::Reflow(nsIPresContext& aPresContext,
|
||||
rv = ChildIncrementalReflow(state);
|
||||
}
|
||||
}
|
||||
else if (eReflowReason_Resize == state.reason) {
|
||||
else if ((eReflowReason_Resize == state.reason) ||
|
||||
(eReflowReason_StyleChange == state.reason)) {
|
||||
DrainOverflowLines();
|
||||
rv = ResizeReflow(state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user