Summary: | Avoid second layout for flex-direction:row, flex-basis:auto flex items | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> | ||||
Component: | New Bugs | Assignee: | Ojan Vafai <ojan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, hyatt, tony, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 62048 | ||||||
Attachments: |
|
Description
Ojan Vafai
2012-05-30 14:48:05 PDT
Created attachment 144928 [details]
Patch
Comment on attachment 144928 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=144928&action=review > Source/WebCore/rendering/RenderFlexibleBox.cpp:997 > + // FIXME: If we're overriding logicalHeight (i.e. hasOrthogonalFlow(child) == true), we only need to layout here if the > + // contents of the child depends on it's height (e.g. % height elements, background-color, etc) because we already > + // layed out once in computeMainAxisPreferredSizes at the unflexed height. Nit: Might be easier to file a bug about this and dump some of this in the bug instead. Committed r119015: <http://trac.webkit.org/changeset/119015> |