Commented out the hack that explicitly set the P top margin since that's

now handled using CSS


git-svn-id: svn://10.0.0.236/trunk@381 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy
1998-04-19 05:06:41 +00:00
parent ba24cf5205
commit b16f96084a
3 changed files with 6 additions and 6 deletions

View File

@@ -429,8 +429,8 @@ void StyleContextImpl::HackStyleFor(nsIPresContext* aPresContext,
mMolecule.textAlign = NS_STYLE_TEXT_ALIGN_RIGHT;
}
}
mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
} else if (buf.EqualsIgnoreCase("BODY")) {
float p2t = aPresContext->GetPixelsToTwips();
// mColor.mBackgroundColor = NS_RGB(255, 255, 255);

View File

@@ -429,8 +429,8 @@ void StyleContextImpl::HackStyleFor(nsIPresContext* aPresContext,
mMolecule.textAlign = NS_STYLE_TEXT_ALIGN_RIGHT;
}
}
mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
} else if (buf.EqualsIgnoreCase("BODY")) {
float p2t = aPresContext->GetPixelsToTwips();
// mColor.mBackgroundColor = NS_RGB(255, 255, 255);

View File

@@ -429,8 +429,8 @@ void StyleContextImpl::HackStyleFor(nsIPresContext* aPresContext,
mMolecule.textAlign = NS_STYLE_TEXT_ALIGN_RIGHT;
}
}
mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.top = NS_POINTS_TO_TWIPS_INT(2);
// mMolecule.margin.bottom = NS_POINTS_TO_TWIPS_INT(2);
} else if (buf.EqualsIgnoreCase("BODY")) {
float p2t = aPresContext->GetPixelsToTwips();
// mColor.mBackgroundColor = NS_RGB(255, 255, 255);