Commit 1a418d9c authored by hyatt's avatar hyatt

Fix for 3057974 and 3128713. I needed to make frames check to

	see if their parentNode had a renderer to complete the FOUC
	fix.  Completing the FOUC fix finally solves 3057974.

        Reviewed by darin

        * khtml/html/html_baseimpl.cpp:
        (HTMLFrameElementImpl::attach):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent baa79d0b
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3057974 and 3128713. I needed to make frames check to
see if their parentNode had a renderer to complete the FOUC
fix. Completing the FOUC fix finally solves 3057974.
Reviewed by darin
* khtml/html/html_baseimpl.cpp:
(HTMLFrameElementImpl::attach):
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3109226, epinions page is mostly blank. Add a hack
......
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3057974 and 3128713. I needed to make frames check to
see if their parentNode had a renderer to complete the FOUC
fix. Completing the FOUC fix finally solves 3057974.
Reviewed by darin
* khtml/html/html_baseimpl.cpp:
(HTMLFrameElementImpl::attach):
2002-12-15 David Hyatt <hyatt@apple.com>
Fix for 3109226, epinions page is mostly blank. Add a hack
......
......@@ -296,7 +296,6 @@ void HTMLFrameElementImpl::attach()
{
assert(!attached());
assert(parentNode());
assert(parentNode()->renderer());
// ignore display: none for this element!
KHTMLView* w = getDocument()->view();
......@@ -310,7 +309,7 @@ void HTMLFrameElementImpl::attach()
break;
}
if (!selfreference) {
if (!selfreference && parentNode()->renderer()) {
m_render = new (getDocument()->renderArena()) RenderFrame(this);
m_render->setStyle(getDocument()->styleSelector()->styleForElement(this));
parentNode()->renderer()->addChild(m_render, nextRenderer());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment