Flex-basis settings can cause major layout rendering delays
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: lukebmay, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(8 files)
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Comment 3•10 years ago
|
||
Updated•10 years ago
|
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Reporter | ||
Comment 11•10 years ago
|
||
Reporter | ||
Comment 12•10 years ago
|
||
Reporter | ||
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Reporter | ||
Comment 16•10 years ago
|
||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
Comment 20•10 years ago
|
||
Comment 21•10 years ago
|
||
Reporter | ||
Comment 22•10 years ago
|
||
Comment 23•10 years ago
|
||
Updated•10 years ago
|
Updated•8 years ago
|
Comment 24•4 years ago
|
||
Good news! The latest "bad" testcase here (attachment 8588059 [details], "static version of "firefoxFlexAbsolute.html" which hangs for a few seconds on load"), seems to load just fine in current Firefox Nightly.
Here's a profile: https://share.firefox.dev/2Am3MAc
The reflow is only 2.2ms long, and there are only 2 samples that are in flexbox reflow at all.
I also tried the prior testcase ("firefoxFlexAbsolute.html") and dialed it up to "number of components: 70" with no noticeable delay at any of the increments (as compared to the >100s delays in comment 13 at only ~20 components).
Comment 25•4 years ago
|
||
Similarly, the next-older testcase ("firefoxFlex3.html") loads very quickly, with only a 3ms reflow: https://share.firefox.dev/3e0QYxq
And the next-older intended-to-be-slow testcase ("testcase 2 (partly reduced)"), which used to have multi-second reactions for hovers (per comment 3), now responds to hover events instantaneously, with <5ms reflow-time for those actions. Profile: https://share.firefox.dev/2YwfVuk
And the reporter's original testcase is now fixed, too -- I can put in values "200px" and "0px" or "1px" into its boxes, and then resize the window, and we re-render pretty rapidly (where previously we'd hang for a few seconds per comment 2).
So: bottom line, I think this is WORKSFORME, fixed by some change over the past 5 years.
Description
•