Summary: | Implement support for positioned floats in the FloatingObject list of RenderBlock | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dave Hyatt <hyatt> | ||||||
Component: | Layout and Rendering | Assignee: | Dave Hyatt <hyatt> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | dbates, tonikitoo | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Dave Hyatt
2011-07-28 13:50:00 PDT
Created attachment 102299 [details]
Patch
Created attachment 102303 [details]
Patch
Comment on attachment 102303 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=102303&action=review > Source/WebCore/rendering/RenderBlock.cpp:1364 > + setChildNeedsLayout(true, false); > + layoutBlock(false, pageLogicalHeight, PositionedFloatLayoutPass); > + } else > + setNeedsLayout(false); We really need to updated these to not be bools at some point. > Source/WebCore/rendering/RenderBlock.cpp:1443 > + if (r->m_isDescendant && !r->m_renderer->isPositioned()) It might be helpful to indicate in a comment why you can ignore positioned objects here (e.g. where it is actually handled). This broke the Chromium Linux Release Flexbox buildbot (non-core): <http://build.webkit.org/builders/Chromium%20Linux%20Release%20%28Flexbox%29/builds/1821/steps/compile-webkit/logs/stdio>. Committed build fix in <http://trac.webkit.org/changeset/92072>. |