mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +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:
|
private:
|
||||||
// These are the entire width of the border (the cell edge contains only
|
// 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 mBStartBorder;
|
||||||
BCPixelSize mIEndBorder;
|
BCPixelSize mIEndBorder;
|
||||||
BCPixelSize mBEndBorder;
|
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 nsTableFrame::GetLogicalSkipSides() const {
|
||||||
LogicalSides skip(mWritingMode);
|
LogicalSides skip(mWritingMode);
|
||||||
if (MOZ_UNLIKELY(StyleBorder()->mBoxDecorationBreak ==
|
if (MOZ_UNLIKELY(StyleBorder()->mBoxDecorationBreak ==
|
||||||
|
@ -268,12 +268,6 @@ class nsTableFrame : public nsContainerFrame {
|
|||||||
mozilla::Maybe<mozilla::LogicalMargin>& aBorder,
|
mozilla::Maybe<mozilla::LogicalMargin>& aBorder,
|
||||||
mozilla::Maybe<mozilla::LogicalMargin>& aPadding) const;
|
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;
|
friend class nsDelayedCalcBCBorders;
|
||||||
|
|
||||||
void AddBCDamageArea(const mozilla::TableArea& aValue);
|
void AddBCDamageArea(const mozilla::TableArea& aValue);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user