Open Bug 1495532 Opened 7 years ago Updated 3 years ago

Figure out a way to interrupt flex reflow?

Categories

(Core :: Layout: Flexbox, defect, P3)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

Copying from my commit message in bug 1495169: We hould probably add an interrupt check somewhere in nsFlexContainerFrame to avoid keeping reflowing flex items indefinitely. We could probably just bail out from our reflow if any kid reflow was interrupted. That being said, it's probably worth doing it in a different bug, if only for regression-tracking purposes.
Component: Layout → Layout: Flexbox
Priority: -- → P3

We should probably make sure we get past the resolve-the-flexible-lengths part of flex reflow, up to the "final reflow" of the first child, probably.

We could then conceivably allow for interrupts during the "final" reflow pass (perhaps checking for interrupts between each child during that pass). (This is the part where we're reflowing each child with their known-correct[1] final size.)

[1] "correct", modulo possible flaws in their cached measurements due to the measurement being interrupted (which is probably a flaw we'll need to live with)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.