зеркало из https://github.com/mozilla/gecko-dev.git
[NOT PART OF THE DEFAULT BUILD] Disable some radars that were there for debug purposes
This commit is contained in:
Родитель
a26bf4af0f
Коммит
3435aa5f2f
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче