Bug 70779

Summary: RenderFlexibleBox::layout calls computeLogicalHeight twice
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: Layout and RenderingAssignee: 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
Reported 2011-10-24 16:48:19 PDT
It should only need to call it after having laid out its children.
Attachments
Ojan Vafai
Comment 1 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.
Note You need to log in before you can comment on or make changes to this bug.