Closed Bug 1641739 Opened 4 years ago Closed 4 years ago

Reduce the support child list types for flex / grid container's frame list manipulation methods

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

These flex / grid's methods are implemented by delegating to
nsContainerFrame's methods. We shouldn't assume they can support more
child list types than the ones supported in nsContainerFrame's methods.

  • NoteNewChildren is a helper for flex and grid's AppendFrame and
    InsertFrames, and nsContainerFrame::{AppendFrame,InsertFrames} supports
    only kPrincipalList and kNoReflowPrincipalList.

  • nsContainerFrame::RemoveFrame supports only kPrincipalList and
    kNoReflowPrincipalList.

  • nsContainerFrame::SetInitialChildList supports only kPrincipalList and
    kBackdropList.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1933024a9cbf Reduce the support child list types for flex / grid container's frame list manipulation methods. r=mats
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: