diff --git a/mozilla/content/base/src/nsStyleContext.cpp b/mozilla/content/base/src/nsStyleContext.cpp index 1cd8ee15641..f994d8d8b1f 100644 --- a/mozilla/content/base/src/nsStyleContext.cpp +++ b/mozilla/content/base/src/nsStyleContext.cpp @@ -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); diff --git a/mozilla/layout/base/src/nsStyleContext.cpp b/mozilla/layout/base/src/nsStyleContext.cpp index 1cd8ee15641..f994d8d8b1f 100644 --- a/mozilla/layout/base/src/nsStyleContext.cpp +++ b/mozilla/layout/base/src/nsStyleContext.cpp @@ -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); diff --git a/mozilla/layout/style/nsStyleContext.cpp b/mozilla/layout/style/nsStyleContext.cpp index 1cd8ee15641..f994d8d8b1f 100644 --- a/mozilla/layout/style/nsStyleContext.cpp +++ b/mozilla/layout/style/nsStyleContext.cpp @@ -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);