• darin's avatar
    LayoutTests: · 258af4a1
    darin authored
            Reviewed by Hyatt.
            - updated the many tests with an extra newline or two at the end
              because of the bug where plain-text serialization will consider
              nodes that are not rendered
            Reviewed by Hyatt.
            - fix problems where unrendered nodes were affecting on plain text serialization
            * editing/TextIterator.cpp:
            (WebCore::TextIterator::advance): Don't call handleXXX functions or exitNode for
            nodes without renderers.
            (WebCore::shouldEmitNewlineAfterNode): Only consider rendered nodes when deciding
            if this is the last node in the document.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21687 268f45cc-cd09-0410-ab3c-d52691b4dbfc