mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-29 14:35:04 +00:00
Revert "Issue #1355 - Better way to create display items for column backgrounds"
This reverts commit 44c47c5038.
This commit is contained in:
@@ -28,6 +28,7 @@ public:
|
||||
virtual nsresult GetXULBorderAndPadding(nsMargin& aBorderAndPadding) override;
|
||||
|
||||
virtual void BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists) override;
|
||||
|
||||
#ifdef DEBUG_FRAME_DUMP
|
||||
@@ -144,13 +145,13 @@ nsDisplayXULGroupBorder::Paint(nsDisplayListBuilder* aBuilder,
|
||||
|
||||
void
|
||||
nsGroupBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists)
|
||||
{
|
||||
// Paint our background and border
|
||||
if (IsVisibleForPainting(aBuilder)) {
|
||||
nsDisplayBackgroundImage::AppendBackgroundItemsToTop(
|
||||
aBuilder, this,
|
||||
GetBackgroundRectRelativeToSelf() + aBuilder->ToReferenceFrame(this),
|
||||
aBuilder, this, GetBackgroundRectRelativeToSelf(),
|
||||
aLists.BorderBackground());
|
||||
aLists.BorderBackground()->AppendNewToTop(new (aBuilder)
|
||||
nsDisplayXULGroupBorder(aBuilder, this));
|
||||
@@ -158,7 +159,7 @@ nsGroupBoxFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
DisplayOutline(aBuilder, aLists);
|
||||
}
|
||||
|
||||
BuildDisplayListForChildren(aBuilder, aLists);
|
||||
BuildDisplayListForChildren(aBuilder, aDirtyRect, aLists);
|
||||
}
|
||||
|
||||
nsRect
|
||||
|
||||
Reference in New Issue
Block a user