Commit 258af4a1 authored by darin's avatar darin
Browse files


        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: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 542a4a0d
This diff is collapsed.
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