From kde-commits Fri Aug 26 20:51:43 2005 From: =?utf-8?q?Lu=C3=ADs=20Pedro=20Coelho?= Date: Fri, 26 Aug 2005 20:51:43 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml/rendering Message-Id: <1125089503.895323.30773.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112508951708821 SVN commit 453694 by luis_pedro: Make work M +3 -1 render_replaced.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_replaced.cpp #453693:453694 @@ -72,7 +72,9 @@ m_width = calcReplacedWidth(); m_width += paddingLeft() + paddingRight() + borderLeft() + borderRight(); - if ( style()->width().isPercent() || style()->height().isPercent() ) { + if ( style()->width().isPercent() || style()->height().isPercent() || + style()->maxWidth().isPercent() || style()->maxHeight().isPercent() || + style()->minWidth().isPercent() || style()->minHeight().isPercent() ) { m_minWidth = 0; m_maxWidth = m_width; }