Reviewed by Maciej.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2006 04:23:18 +0000 (04:23 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2006 04:23:18 +0000 (04:23 +0000)
commit2af0e223b3b8b25a06eb7ede35f61f03d3be859c
treeb0bbc5debf32691e5eae579e69b14d8a4c5de5b5
parent726dc8b6fcc4b4051902be5afff3dcfda3a34938
    Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4616
          Setting nodeValue on a textnode with collapsed whitespace only has no visual effect

        Test: fast/dom/space-to-text.html

        * dom/CharacterData.cpp:
        (WebCore::CharacterData::setData): Create a renderer if it's needed, but missing.
        (WebCore::CharacterData::appendData): Ditto.
        (WebCore::CharacterData::insertData): Ditto.
        (WebCore::CharacterData::replaceData): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/space-to-text-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/space-to-text.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/CharacterData.cpp