Commit e2cdae93 authored by hyatt's avatar hyatt
Browse files

Fix for 314799, image at wired.com doesn't show up. Block

	level replaced floating elements were being treated as though
	they didn't float.

        Reviewed by gramps

        * khtml/rendering/render_flow.cpp:
        (RenderFlow::layoutBlockChildren):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f491b7c3
2002-12-13 David Hyatt <hyatt@apple.com>
Fix for 314799, image at wired.com doesn't show up. Block
level replaced floating elements were being treated as though
they didn't float.
Reviewed by gramps
* khtml/rendering/render_flow.cpp:
(RenderFlow::layoutBlockChildren):
2002-12-13 David Hyatt <hyatt@apple.com>
Fix for 3098045.
......
2002-12-13 David Hyatt <hyatt@apple.com>
Fix for 314799, image at wired.com doesn't show up. Block
level replaced floating elements were being treated as though
they didn't float.
Reviewed by gramps
* khtml/rendering/render_flow.cpp:
(RenderFlow::layoutBlockChildren):
2002-12-13 David Hyatt <hyatt@apple.com>
Fix for 3098045.
......
......@@ -510,7 +510,9 @@ void RenderFlow::layoutBlockChildren( bool relayoutChildren )
} else if ( child->isReplaced() ) {
if ( !child->layouted() )
child->layout();
} else if ( child->isFloating() ) {
}
if ( child->isFloating() ) {
insertSpecialObject( child );
// The float should be positioned taking into account the bottom margin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment