[Webkit-unassigned] [Bug 105512] Avoid a second layout of flex items in computeMainAxisPreferredSizes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 10:07:22 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105512





--- Comment #2 from Tony Chang <tony at chromium.org>  2012-12-20 10:09:36 PST ---
It seems like if the flex size is different from the preferred size, during a relayout, you'll use the previous flex size instead of recomputing the preferred size.  I'm not sure we have a test case that does this, but we should try to add one.

Another idea would be to cache the child's preferred size and if we don't need to relayout the child, we could use the cached preferred size.  Not sure how much of a win that really is.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list