зеркало из https://github.com/mozilla/gecko-dev.git
slight optimization to previous checkin, bug 253888
This commit is contained in:
Родитель
3aa03e4e0f
Коммит
dde6b68845
|
@ -495,7 +495,8 @@ nsBlockReflowState::RecoverFloats(nsLineList::iterator aLine,
|
|||
// at their original position.
|
||||
if (NS_STYLE_POSITION_RELATIVE == kid->GetStyleDisplay()->mPosition) {
|
||||
nsPoint *offsets = NS_STATIC_CAST(nsPoint*,
|
||||
kid->GetProperty(nsLayoutAtoms::computedOffsetProperty));
|
||||
mPresContext->PropertyTable()->GetProperty(kid,
|
||||
nsLayoutAtoms::computedOffsetProperty));
|
||||
|
||||
if (offsets) {
|
||||
tx -= offsets->x;
|
||||
|
|
|
@ -495,7 +495,8 @@ nsBlockReflowState::RecoverFloats(nsLineList::iterator aLine,
|
|||
// at their original position.
|
||||
if (NS_STYLE_POSITION_RELATIVE == kid->GetStyleDisplay()->mPosition) {
|
||||
nsPoint *offsets = NS_STATIC_CAST(nsPoint*,
|
||||
kid->GetProperty(nsLayoutAtoms::computedOffsetProperty));
|
||||
mPresContext->PropertyTable()->GetProperty(kid,
|
||||
nsLayoutAtoms::computedOffsetProperty));
|
||||
|
||||
if (offsets) {
|
||||
tx -= offsets->x;
|
||||
|
|
Загрузка…
Ссылка в новой задаче