[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/rendering
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2009-03-14 4:35:45
Message-ID: 1237005345.036709.15098.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 939173 by ggarand:

also avoid setting the canvas size to the new viewport size before it has
actually changed.
That could confuse the layout code into thinking it doesn't need
a deep relayout.

(fix failing regression test positioning/fixed-001.html)


 M  +0 -2      render_canvas.cpp  


--- trunk/KDE/kdelibs/khtml/rendering/render_canvas.cpp #939172:939173
@@ -277,8 +277,6 @@
 
         m_view->resizeContents((overrideW ? overrideW : hDocW), (overrideH ? overrideH : hDocH));
 
-        setWidth( m_viewportWidth = (overrideW ? m_view->visibleWidth() : viewport.width()) );
-        setHeight( m_viewportHeight = (overrideH ? m_view->visibleHeight() : viewport.height()) );
     }
     layer()->resize( qMax( m_cachedDocWidth,int( m_width ) ), qMax( m_cachedDocHeight,m_height ) );
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic