Closed Bug 1505584 Opened 6 years ago Closed 4 years ago

slow reflows for changes in sibling of 0-height abspos scrollable flex container

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox65 --- affected

People

(Reporter: dholbert, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug, )

Details

STR: 0. Have the Gecko Profiler installed ( https://perf-html.io/ ) 1. Load https://bugzilla.mozilla.org/attachment.cgi?id=9020942 2. Start profiling. 3. Focus the text and type a few characters (e.g. "abc") 4. Capture profile. 5. Look for reflows on the Marker Chart (or as blue bars in the top timeline view) ACTUAL RESULTS: My profile: https://perfht.ml/2SSKPJH There's a >20ms reflow with each keypress. EXPECTED RESULTS: We shouldn't have that much work to do -- the reflows should be < 1ms. (I'm spinning this off of bug 1376536 -- this testcase was initially attached as a reduced testcase there, but it turns out that the patch that'll be fixing that bug doesn't actually fix this testcase.)
Depends on: 1503660, 1503987, 1504877

This seems to have been fixed! Here's a profile from today's nightly: https://share.firefox.dev/2Avqdmo

The per-keypress reflows are 0.2ms to 0.3ms in duration.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.