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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user