[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/xml
From: Maks Orlovich <maksim () kde ! org>
Date: 2008-01-15 20:21:11
Message-ID: 1200428471.351845.7168.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 761980 by orlovich:
automatically merged revision 761978:
Don't crash cloning elements with both inline and non-CSS style
information where the inline information was created directly,
and not from a style= attribute.
Fixes zeit.de, #153711
BUGNO:153711
M +1 -1 dom_elementimpl.cpp
--- trunk/KDE/kdelibs/khtml/xml/dom_elementimpl.cpp #761979:761980
@@ -462,7 +462,7 @@
if (!clone->m_hasCombinedStyle)
clone->createNonCSSDecl();
if (m_style.combinedDecls->inlineDecls)
- *clone->m_style.combinedDecls->inlineDecls = *m_style.combinedDecls->inlineDecls;
+ *(clone->getInlineStyleDecls()) = *m_style.combinedDecls->inlineDecls;
*clone->m_style.combinedDecls->nonCSSDecls = *m_style.combinedDecls->nonCSSDecls;
} else {
*(clone->getInlineStyleDecls()) = *m_style.inlineDecls;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic