Bug 70779 - RenderFlexibleBox::layout calls computeLogicalHeight twice
Summary: RenderFlexibleBox::layout calls computeLogicalHeight twice
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 62048
  Show dependency treegraph
Reported: 2011-10-24 16:48 PDT by Ojan Vafai
Modified: 2011-10-29 14:30 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2011-10-24 16:48:19 PDT
It should only need to call it after having laid out its children.
Comment 1 Ojan Vafai 2011-10-29 14:30:45 PDT
In many cases it turns out we need to call computeLogicalHeight before computing the free-space for the flexing algorithm. There may be cases we could optimize out, but it's unlikely this extra call will show up in a profile, so it's probably worth keeping the code simpler.