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/HTMLBaseFontElement03
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement01
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement02
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement03
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement04
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement05
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement06
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement07
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement08
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement09
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement10
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement11
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement12
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement01
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement02
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement03
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement04
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement05
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement06
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLButtonElement07
Status Success
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