b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.

This commit is contained in:
dcone@netscape.com
2002-02-15 14:48:12 +00:00
parent 75711addd0
commit 9938bc4eee
32 changed files with 254 additions and 109 deletions

View File

@@ -428,7 +428,7 @@ nsTableCellFrame::Paint(nsIPresContext* aPresContext,
NS_STYLE_TABLE_EMPTY_CELLS_SHOW == cellTableStyle->mEmptyCells ||
NS_STYLE_TABLE_EMPTY_CELLS_SHOW_BACKGROUND == cellTableStyle->mEmptyCells) {
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
aDirtyRect, rect, *myBorder, 0, 0);
aDirtyRect, rect, *myBorder, 0, 0, PR_TRUE);
}
// draw the border except when the cell is empty and 'empty-cells: hide || -moz-show-background' is set
if (!GetContentEmpty() ||