mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Issue #1378 - Align the drawing of table cell backgrounds with the spec.
This commit is contained in:
parent
7fac86416c
commit
598fe2fa1f
3 changed files with 105 additions and 55 deletions
|
|
@ -209,7 +209,7 @@ public:
|
|||
/** set the desired size returned by this frame during its last reflow */
|
||||
inline void SetDesiredSize(const ReflowOutput & aDesiredSize);
|
||||
|
||||
bool GetContentEmpty();
|
||||
bool GetContentEmpty() const;
|
||||
void SetContentEmpty(bool aContentEmpty);
|
||||
|
||||
bool HasPctOverBSize();
|
||||
|
|
@ -246,6 +246,10 @@ public:
|
|||
virtual void InvalidateFrame(uint32_t aDisplayItemKey = 0) override;
|
||||
virtual void InvalidateFrameWithRect(const nsRect& aRect, uint32_t aDisplayItemKey = 0) override;
|
||||
virtual void InvalidateFrameForRemoval() override { InvalidateFrameSubtree(); }
|
||||
|
||||
bool ShouldPaintBordersAndBackgrounds() const;
|
||||
|
||||
bool ShouldPaintBackground(nsDisplayListBuilder* aBuilder);
|
||||
|
||||
protected:
|
||||
virtual LogicalSides
|
||||
|
|
@ -283,7 +287,7 @@ inline void nsTableCellFrame::SetDesiredSize(const ReflowOutput & aDesiredSize)
|
|||
mDesiredSize = aDesiredSize.Size(wm).ConvertTo(GetWritingMode(), wm);
|
||||
}
|
||||
|
||||
inline bool nsTableCellFrame::GetContentEmpty()
|
||||
inline bool nsTableCellFrame::GetContentEmpty() const
|
||||
{
|
||||
return HasAnyStateBits(NS_TABLE_CELL_CONTENT_EMPTY);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue