Bug 70779
Summary: | RenderFlexibleBox::layout calls computeLogicalHeight twice | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 62048 |
Ojan Vafai
It should only need to call it after having laid out its children.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ojan Vafai
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.