--- layout/base/nsCSSFrameConstructor.cpp.orig Sun Sep 3 10:07:28 2006 +++ layout/base/nsCSSFrameConstructor.cpp Mon Sep 18 10:29:31 2006 @@ -4467,11 +4467,16 @@ htmlDoc->GetBody(getter_AddRefs(body)); nsCOMPtr bodyElement = do_QueryInterface(body); - if (!bodyElement || - !bodyElement->NodeInfo()->Equals(nsHTMLAtoms::body)) { + if (!bodyElement) { + return nsnull; + } + +#if 0 + if (!bodyElement->NodeInfo()->Equals(nsHTMLAtoms::body)) { // The body is not a tag, it's a . return nsnull; } +#endif nsRefPtr bodyStyle; bodyStyle = styleSet->ResolveStyleFor(bodyElement, rootStyle); @@ -4816,6 +4821,7 @@ // Never create scrollbars for XUL documents PRBool isScrollable = !isXUL; +#if 0 // Never create scrollbars for frameset documents. if (isHTML) { nsCOMPtr htmlDoc = do_QueryInterface(mDocument); @@ -4822,6 +4828,7 @@ if (htmlDoc && htmlDoc->GetIsFrameset()) isScrollable = PR_FALSE; } +#endif if (isPaginated) { isScrollable = presContext->HasPaginatedScrolling();