CVS commit by mueller: avoid assertion failure on man: pages (backport revision 1.34) M +5 -3 render_block.cpp 1.20.2.7 --- kdelibs/khtml/rendering/render_block.cpp #1.20.2.6:1.20.2.7 @@ -423,4 +423,9 @@ void RenderBlock::layout() void RenderBlock::layoutBlock(bool relayoutChildren) { + if (isInline() && !isReplacedBlock()) { + setLayouted(); + return; + } + // kdDebug( 6040 ) << renderName() << " " << this << "::layoutBlock() start" << endl; // QTime t; @@ -429,7 +434,4 @@ void RenderBlock::layoutBlock(bool relay KHTMLAssert( minMaxKnown() ); - if (isInline()) // Inline
s inside various table elements can cause us to - return; // come in here. Just bail. -dwh - int oldWidth = m_width;