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

LayoutTests:

        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

WebCore:

        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
parent 542a4a0d
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement03
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement04
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement05
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement06
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement07
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement08
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement09
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement10
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement11
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement01
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement02
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement03
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement04
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement05
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement06
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement07
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAreaElement08
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBRElement01
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02
Status Success
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