Closed Bug 826149 Opened 7 years ago Closed 7 years ago
Frame Tree Too Deep() check for flex containers
Just noticed that nsBlockFrame and nsInlineFrame both have IsFrameTreeTooDeep() early-returns. We should add the same in nsFlexContainerFrame, to limit the perf impact that zillions of flex-containers-nested-inside-of-flex-containers can have.  https://mxr.mozilla.org/mozilla-central/source/layout/generic/nsBlockFrame.cpp#989  https://mxr.mozilla.org/mozilla-central/source/layout/generic/nsInlineFrame.cpp#285
Comment on attachment 697343 [details] [diff] [review] fix v1 r=dbaron
Attachment #697343 - Flags: review?(dbaron) → review+
inbound is looking pretty backed up right now, so I'm posting the ready-to-land patch (w/ r=dbaron added in commit message) as checkin-needed.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.