-
ojan@chromium.org authored
Reviewed by David Levin. Tests for smartdelete should only occur after double-click https://bugs.webkit.org/show_bug.cgi?id=35314 Fixes the tests to make selections using the mouse in order to force smart-delete. It also adds/modifies tests to have them correctly identify cases where we are smart-deleting, but shouldn't be. Fixing to smart-delete only on mouse-based selections will be a followup patch. * editing/deleting/5390681-2.html: * editing/deleting/non-smart-delete.html: Added. * editing/deleting/smart-delete-001.html: * editing/deleting/smart-delete-002.html: * editing/deleting/smart-delete-003.html: * editing/deleting/smart-delete-004.html: * editing/editing.js: (doubleClick): (doubleClickAtSelectionStart): * editing/pasteboard/4944770-2.html: * editing/pasteboard/drag-drop-modifies-page.html: * editing/pasteboard/smart-drag-drop.html: Added. * editing/pasteboard/smart-paste-001.html: * editing/pasteboard/smart-paste-002.html: * editing/pasteboard/smart-paste-003.html: * editing/pasteboard/smart-paste-004.html: * editing/pasteboard/smart-paste-005.html: * editing/pasteboard/smart-paste-007.html: * editing/pasteboard/smart-paste-008.html: * editing/selection/delete-word-granularity-text-control-expected.txt: Added. * editing/selection/delete-word-granularity-text-control.html: Added. * editing/selection/script-tests/delete-word-granularity-text-control.js: Added. * editing/style/style-boundary-005.html: * platform/mac/editing/deleting/non-smart-delete-expected.checksum: Added. * platform/mac/editing/deleting/non-smart-delete-expected.png: Added. * platform/mac/editing/deleting/non-smart-delete-expected.txt: Added. * platform/mac/editing/deleting/smart-delete-001-expected.txt: * platform/mac/editing/deleting/smart-delete-002-expected.txt: * platform/mac/editing/deleting/smart-delete-003-expected.txt: * platform/mac/editing/deleting/smart-delete-004-expected.txt: * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.checksum: * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.png: * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.txt: * platform/mac/editing/pasteboard/smart-drag-drop-expected.checksum: Added. * platform/mac/editing/pasteboard/smart-drag-drop-expected.png: Added. * platform/mac/editing/pasteboard/smart-drag-drop-expected.txt: Added. * platform/mac/editing/pasteboard/smart-paste-001-expected.txt: * platform/mac/editing/pasteboard/smart-paste-002-expected.txt: * platform/mac/editing/pasteboard/smart-paste-003-expected.txt: * platform/mac/editing/pasteboard/smart-paste-004-expected.txt: * platform/mac/editing/pasteboard/smart-paste-005-expected.txt: * platform/mac/editing/pasteboard/smart-paste-007-expected.txt: * platform/mac/editing/pasteboard/smart-paste-008-expected.txt: * platform/mac/editing/style/style-boundary-005-expected.checksum: * platform/mac/editing/style/style-boundary-005-expected.png: * platform/mac/editing/style/style-boundary-005-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0b530eb8