LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Sep 2006 22:01:33 +0000 (22:01 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Sep 2006 22:01:33 +0000 (22:01 +0000)
commit74627a51f502816f41259e8aed97623711bd6a31
tree62e26faa8ff5357d6b559f5c35655854428f9621
parentde04975fed9bd4d84fc515b7d49ac6e9c13d072e
LayoutTests:

        Reviewed by harrison

        * editing/pasteboard/pasting-tabs-expected.checksum: Added.
        * editing/pasteboard/pasting-tabs-expected.png: Added.
        * editing/pasteboard/pasting-tabs-expected.txt: Added.
        * editing/pasteboard/pasting-tabs.html: Added.

WebCore:

        Reviewed by harrison

        <rdar://problem/4727383> REGRESSION: Pasting plain text with tabs into Blot converts the tabs to single spaces

        Pasting plain text results in a match style paste, and the insertion
        position is whitespace normal, which clobbers the whitespace:pre on
        tab spans.  Skip changes to the whitespace mode when computing a style
        change for tab spans or the text nodes inside tab spans.

        * editing/ApplyStyleCommand.cpp:
        (WebCore::StyleChange::init): Don't change the whitespace mode inside
        tab spans.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/pasting-tabs-expected.checksum [new file with mode: 0644]
LayoutTests/editing/pasteboard/pasting-tabs-expected.png [new file with mode: 0644]
LayoutTests/editing/pasteboard/pasting-tabs-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/pasting-tabs.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/ApplyStyleCommand.cpp