Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally.

This commit is contained in:
bryner%brianryner.com 2004-11-16 07:27:39 +00:00
Родитель cdbcc064e3
Коммит c8c7c2864f
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -7584,7 +7584,8 @@ nsCSSFrameConstructor::ConstructFrameInternal( nsIPresShell* aPresShe
// XTF // XTF
#ifdef MOZ_XTF #ifdef MOZ_XTF
if (NS_SUCCEEDED(rv) && if (aNameSpaceID > kNameSpaceID_LastBuiltin &&
NS_SUCCEEDED(rv) &&
((nsnull == aFrameItems.childList) || ((nsnull == aFrameItems.childList) ||
(lastChild == aFrameItems.lastChild))) { (lastChild == aFrameItems.lastChild))) {
nsCOMPtr<nsIXTFElementWrapperPrivate> xtfElem = do_QueryInterface(aContent); nsCOMPtr<nsIXTFElementWrapperPrivate> xtfElem = do_QueryInterface(aContent);

Просмотреть файл

@ -7584,7 +7584,8 @@ nsCSSFrameConstructor::ConstructFrameInternal( nsIPresShell* aPresShe
// XTF // XTF
#ifdef MOZ_XTF #ifdef MOZ_XTF
if (NS_SUCCEEDED(rv) && if (aNameSpaceID > kNameSpaceID_LastBuiltin &&
NS_SUCCEEDED(rv) &&
((nsnull == aFrameItems.childList) || ((nsnull == aFrameItems.childList) ||
(lastChild == aFrameItems.lastChild))) { (lastChild == aFrameItems.lastChild))) {
nsCOMPtr<nsIXTFElementWrapperPrivate> xtfElem = do_QueryInterface(aContent); nsCOMPtr<nsIXTFElementWrapperPrivate> xtfElem = do_QueryInterface(aContent);