Fixed: <rdar://problem/4030404> selection granularity should be set when extending...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2005 21:15:05 +0000 (21:15 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2005 21:15:05 +0000 (21:15 +0000)
commitb6552340dc59dd846d17ae4abfea410f896ed343
tree44bee67b1e9c718d5dacfa33cd4a5fed56c9ec10
parent203a9642e36a392cb3ecc313c4e22e542fc00936
Fixed: <rdar://problem/4030404> selection granularity should be set when extending selection via JS

        Reviewed by kocienda.

        * khtml/ecma/kjs_window.cpp:
        (SelectionFunc::tryCall): set the granularity on the part. This will allow us to write smart paste layout tests.
        * layout-tests/editing/pasteboard/smart-paste-001-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-001.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-002-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-002.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-003-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-003.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-004-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-004.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-005-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-005.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-006-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-006.html: Added.
        * layout-tests/editing/pasteboard/smart-paste-007-expected.txt: Added.
        * layout-tests/editing/pasteboard/smart-paste-007.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/editing/pasteboard/smart-paste-001-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-001.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-002-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-002.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-003-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-003.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-004-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-004.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-005-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-005.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-006-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-006.html [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-007-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-007.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_window.cpp