mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 1871608 Part 3 - Remove one addition unused methods and cleanup a comment. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D197209
This commit is contained in:
parent
5374b8b9dd
commit
ba6d212459
@ -314,7 +314,7 @@ class nsBCTableCellFrame final : public nsTableCellFrame {
|
||||
|
||||
private:
|
||||
// These are the entire width of the border (the cell edge contains only
|
||||
// the inner half, per the macros in nsTablePainter.h).
|
||||
// the inner half).
|
||||
BCPixelSize mBStartBorder;
|
||||
BCPixelSize mIEndBorder;
|
||||
BCPixelSize mBEndBorder;
|
||||
|
@ -1220,16 +1220,6 @@ void nsTableFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
}
|
||||
|
||||
nsMargin nsTableFrame::GetDeflationForBackground(
|
||||
nsPresContext* aPresContext) const {
|
||||
if (eCompatibility_NavQuirks != aPresContext->CompatibilityMode() ||
|
||||
!IsBorderCollapse())
|
||||
return nsMargin(0, 0, 0, 0);
|
||||
|
||||
WritingMode wm = GetWritingMode();
|
||||
return GetOuterBCBorder(wm).GetPhysicalMargin(wm);
|
||||
}
|
||||
|
||||
LogicalSides nsTableFrame::GetLogicalSkipSides() const {
|
||||
LogicalSides skip(mWritingMode);
|
||||
if (MOZ_UNLIKELY(StyleBorder()->mBoxDecorationBreak ==
|
||||
|
@ -268,12 +268,6 @@ class nsTableFrame : public nsContainerFrame {
|
||||
mozilla::Maybe<mozilla::LogicalMargin>& aBorder,
|
||||
mozilla::Maybe<mozilla::LogicalMargin>& aPadding) const;
|
||||
|
||||
/**
|
||||
* In quirks mode, the size of the table background is reduced
|
||||
* by the outer BC border. Compute the reduction needed.
|
||||
*/
|
||||
nsMargin GetDeflationForBackground(nsPresContext* aPresContext) const;
|
||||
|
||||
friend class nsDelayedCalcBCBorders;
|
||||
|
||||
void AddBCDamageArea(const mozilla::TableArea& aValue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user