WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
70779
RenderFlexibleBox::layout calls computeLogicalHeight twice
https://bugs.webkit.org/show_bug.cgi?id=70779
Summary
RenderFlexibleBox::layout calls computeLogicalHeight twice
Ojan Vafai
Reported
2011-10-24 16:48:19 PDT
It should only need to call it after having laid out its children.
Attachments
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug