mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #146 - Part 2: Remove custom table painting component.
Since we're now putting table borders and backgrounds properly in the display lists, we no longer need this custom component to do this work for us.
This commit is contained in:
parent
8bd3a1f1d9
commit
04db41da36
12 changed files with 0 additions and 1162 deletions
|
|
@ -12,7 +12,6 @@
|
|||
#include "nsTableColFrame.h"
|
||||
#include "nsTableRowFrame.h"
|
||||
#include "nsTableRowGroupFrame.h"
|
||||
#include "nsTablePainter.h"
|
||||
#include "nsStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
@ -380,19 +379,6 @@ nsTableCellFrame::PaintBackground(nsRenderingContext& aRenderingContext,
|
|||
return nsCSSRendering::PaintBackground(params);
|
||||
}
|
||||
|
||||
// Called by nsTablePainter
|
||||
DrawResult
|
||||
nsTableCellFrame::PaintCellBackground(nsRenderingContext& aRenderingContext,
|
||||
const nsRect& aDirtyRect, nsPoint aPt,
|
||||
uint32_t aFlags)
|
||||
{
|
||||
if (!StyleVisibility()->IsVisible()) {
|
||||
return DrawResult::SUCCESS;
|
||||
}
|
||||
|
||||
return PaintBackground(aRenderingContext, aDirtyRect, aPt, aFlags);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsTableCellFrame::ProcessBorders(nsTableFrame* aFrame,
|
||||
nsDisplayListBuilder* aBuilder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue