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/HTMLDocument05
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument07
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument08
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument09
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument10
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument11
Status error
Message TypeError: Undefined value
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument12
Status failure
Message cookieLink: assertEquals failed, actual null, expected .
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument13
Status error
Message TypeError: Value undefined (result of expression doc.getElementsByName) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument14
Status error
Message TypeError: Value undefined (result of expression doc.getElementsByName) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument15
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument16
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument17
Status error
Message TypeError: Value undefined (result of expression doc.open) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument18
Status error
Message TypeError: Value undefined (result of expression doc.close) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument19
Status error
Message TypeError: Value undefined (result of expression doc.open) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument20
Status error
Message TypeError: Value undefined (result of expression doc.open) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument21
Status error
Message TypeError: Value undefined (result of expression doc.open) is not object.
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument22
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument23
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument24
Status Success
Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument25
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