Bug 516286. No need to clear ancestor intrinsic widths on top/left/right/bottom changes anymore. r=dbaron

This commit is contained in:
Boris Zbarsky 2009-09-24 13:59:43 -04:00
Родитель 999ecb34d4
Коммит e00e9085b0
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -1114,11 +1114,9 @@ nsChangeHint nsStylePosition::CalcDifference(const nsStylePosition& aOther) cons
return NS_STYLE_HINT_NONE; return NS_STYLE_HINT_NONE;
} else { } else {
// Offset changes only affect positioned content, and can't affect any // Offset changes only affect positioned content, and can't affect any
// intrinsic widths (except, XXXbz, stacks! So for now have to clear // intrinsic widths. They also don't need to force reflow of
// ancestor intrinsic widths). They also don't need to force reflow of
// descendants. // descendants.
return NS_CombineHint(nsChangeHint_NeedReflow, return nsChangeHint_NeedReflow;
nsChangeHint_ClearAncestorIntrinsics);;
} }
} }