diff --git a/layout/mathml/base/src/nsMathMLChar.cpp b/layout/mathml/base/src/nsMathMLChar.cpp index 7ec63526dda4..e07cd6638113 100644 --- a/layout/mathml/base/src/nsMathMLChar.cpp +++ b/layout/mathml/base/src/nsMathMLChar.cpp @@ -1069,20 +1069,20 @@ nsMathMLChar::Paint(nsIPresContext* aPresContext, if (eMathMLChar_DONT_STRETCH == mEnum || NS_STRETCH_DIRECTION_UNSUPPORTED == mDirection) { // normal drawing if there is nothing special about this char ... //printf("Painting %04X like a normal char\n", mData[0]); -aRenderingContext.SetColor(NS_RGB(255,0,0)); +//aRenderingContext.SetColor(NS_RGB(255,0,0)); aRenderingContext.DrawString(mData.GetUnicode(), PRUint32(mData.Length()), mRect.x, mRect.y - (fontAscent - mBoundingMetrics.ascent)); } else if (0 < mGlyph) { // wow, there is a glyph of appropriate size! //printf("Painting %04X with a glyph of appropriate size\n", mData[0]); -aRenderingContext.SetColor(NS_RGB(0,0,255)); +//aRenderingContext.SetColor(NS_RGB(0,0,255)); mGlyphTable->DrawGlyph(aRenderingContext, mGlyph, mRect.x, mRect.y - (fontAscent - mBoundingMetrics.ascent)); } else { // paint by parts -aRenderingContext.SetColor(NS_RGB(0,255,0)); +//aRenderingContext.SetColor(NS_RGB(0,255,0)); if (NS_STRETCH_DIRECTION_VERTICAL == mDirection) return PaintVertically(aPresContext, aRenderingContext, fontAscent, mStyleContext, mGlyphTable, mEnum, mRect); diff --git a/layout/mathml/tests/mathml.css b/layout/mathml/tests/mathml.css index 8a095448eaf4..b083acee1cd8 100644 --- a/layout/mathml/tests/mathml.css +++ b/layout/mathml/tests/mathml.css @@ -301,7 +301,7 @@ mstyle[fontstyle="normal"] mi { :-moz-math-font-style-stretchy { font-family: CMSY10, CMEX10, MT Extra, Symbol /*,Math1, Math3, Math4, Math5*/; font-style: normal; - background-color: #3C6; +/* background-color: #3C6; */ } :-moz-math-font-style-anonymous {