[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdelibs/khtml/html
From: Maks Orlovich <maksim () kde ! org>
Date: 2008-08-27 16:57:36
Message-ID: 1219856256.679017.20516.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 853394 by orlovich:
Make sure to update layout, and not just CSS/RenderStyle when querying image width/height
because, well, we do need the size.
Fixes image data not being up-to-date on load, (#129307)
Fixes infinite loop with some forum software (#169844, #166781, most likely #165668, presuming fixed
since no non-bt info available)
BUG:129307
BUG:169844
BUG:166781
BUG:165668
M +2 -2 html_imageimpl.cpp
--- branches/KDE/4.1/kdelibs/khtml/html/html_imageimpl.cpp #853393:853394
@@ -286,7 +286,7 @@
return 0;
}
- document()->updateRendering();
+ document()->updateLayout();
return m_render ? m_render->contentWidth() :
getAttribute(ATTR_WIDTH).toInt();
@@ -304,7 +304,7 @@
return 0;
}
- document()->updateRendering();
+ document()->updateLayout();
return m_render ? m_render->contentHeight() :
getAttribute(ATTR_HEIGHT).toInt();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic