Closed Bug 1799925 Opened 2 years ago Closed 2 years ago

panels and tooltips should be contain: paint

Categories

(Core :: XUL, task)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Since they can't paint outside of the widget, it makes sense. Now that popups are not so special and they just use the top layer we can enforce it. This should save some work when adding / removing transforms to popups (since they won't change the containing block).

Since they can't paint outside of the widget, it makes sense.

Now that popups are not so special and they just use the top layer we
can enforce it using contain: size.

This should save some work when adding / removing transforms to popups
(since they won't change the containing block).

Now popups can become dynamic reflow roots, and that caught some issues
with the reflow requests. We need to hit
nsMenuPopupFrame::LayoutPopup(), so the right thing to do is to use
NS_FRAME_IS_DIRTY.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/73dd9b390b9a
Make XUL popups contain: paint. r=dholbert
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Regressions: 1800238
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: