Commit 74df03e4 authored by eseidel's avatar eseidel
Browse files

Bug #: 4907

Submitted by: eseidel
Reviewed by: mjs
        * khtml/xml/dom_textimpl.cpp:
        (TextImpl::rendererIsNeeded):
        One line change to prevent adding text objects as direct
        children to FrameSet objects in the render tree.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fb1a91a8
2005-09-15 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Test cases added:
None, to-be-landed xhtml dom tests already cover this.
* khtml/xml/dom_textimpl.cpp:
(TextImpl::rendererIsNeeded):
One line change to prevent adding text objects as direct
children to FrameSet objects in the render tree.
2005-09-15 David Harrison <harrison@apple.com>
Reviewed by Dave Hyatt.
......
......@@ -425,7 +425,7 @@ bool TextImpl::rendererIsNeeded(RenderStyle *style)
RenderObject *par = parentNode()->renderer();
if (par->isTable() || par->isTableRow() || par->isTableSection() || par->isTableCol())
if (par->isTable() || par->isTableRow() || par->isTableSection() || par->isTableCol() || par->isFrameSet())
return false;
if (style->whiteSpace() == PRE)
......
Supports Markdown
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