LayoutTests:
authorlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jul 2006 00:46:12 +0000 (00:46 +0000)
committerlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jul 2006 00:46:12 +0000 (00:46 +0000)
commit65e382b2264d8829d7a2e1515ac166378de1b750
tree67ea3ddbf7faf701265bbf977a89724cdce134e1
parent558a0e22f232da5d23063e848b9cba3ca27fc6ff
LayoutTests:

        Reviewed by justin

        Deletion editing deligates now show up!

        * editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
        * editing/deleting/delete-3608430-fix-expected.txt:
        * editing/deleting/delete-3608445-fix-expected.txt:
        * editing/deleting/delete-3608462-fix-expected.txt:
        * editing/deleting/delete-3775172-fix-expected.txt:
        * editing/deleting/delete-3800834-fix-expected.txt:
        * editing/deleting/delete-3857753-fix-expected.txt:
        * editing/deleting/delete-3865854-fix-expected.txt:
        * editing/deleting/delete-3928305-fix-expected.txt:
        * editing/deleting/delete-3959464-fix-expected.txt:
        * editing/deleting/delete-4038408-fix-expected.txt:
        * editing/deleting/delete-4083333-fix-expected.txt:
        * editing/deleting/delete-after-span-ws-001-expected.txt:
        * editing/deleting/delete-after-span-ws-002-expected.txt:
        * editing/deleting/delete-after-span-ws-003-expected.txt:
        * editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
        * editing/deleting/delete-and-undo-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-001-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
        * editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
        * editing/deleting/delete-block-contents-001-expected.txt:
        * editing/deleting/delete-block-contents-002-expected.txt:
        * editing/deleting/delete-block-contents-003-expected.txt:
        * editing/deleting/delete-block-merge-contents-001-expected.txt:
        * editing/deleting/delete-block-merge-contents-002-expected.txt:
        * editing/deleting/delete-block-merge-contents-003-expected.txt:
        * editing/deleting/delete-block-merge-contents-004-expected.txt:
        * editing/deleting/delete-block-merge-contents-005-expected.txt:
        * editing/deleting/delete-block-merge-contents-006-expected.txt:
        * editing/deleting/delete-block-merge-contents-007-expected.txt:
        * editing/deleting/delete-block-merge-contents-008-expected.txt:
        * editing/deleting/delete-block-merge-contents-009-expected.txt:
        * editing/deleting/delete-block-merge-contents-010-expected.txt:
        * editing/deleting/delete-block-merge-contents-012-expected.txt:
        * editing/deleting/delete-block-merge-contents-013-expected.txt:
        * editing/deleting/delete-block-merge-contents-014-expected.txt:
        * editing/deleting/delete-block-merge-contents-015-expected.txt:
        * editing/deleting/delete-block-merge-contents-016-expected.txt:
        * editing/deleting/delete-block-merge-contents-017-expected.txt:
        * editing/deleting/delete-block-merge-contents-018-expected.txt:
        * editing/deleting/delete-block-merge-contents-019-expected.txt:
        * editing/deleting/delete-block-merge-contents-020-expected.txt:
        * editing/deleting/delete-block-merge-contents-021-expected.txt:
        * editing/deleting/delete-block-merge-contents-022-expected.txt:
        * editing/deleting/delete-block-merge-contents-023-expected.txt:
        * editing/deleting/delete-block-merge-contents-024-expected.txt:
        * editing/deleting/delete-br-001-expected.txt:
        * editing/deleting/delete-br-002-expected.txt:
        * editing/deleting/delete-br-003-expected.txt:
        * editing/deleting/delete-br-004-expected.txt:
        * editing/deleting/delete-br-005-expected.txt:
        * editing/deleting/delete-br-006-expected.txt:
        * editing/deleting/delete-br-007-expected.txt:
        * editing/deleting/delete-br-008-expected.txt:
        * editing/deleting/delete-br-009-expected.txt:
        * editing/deleting/delete-br-010-expected.txt:
        * editing/deleting/delete-br-011-expected.txt:
        * editing/deleting/delete-character-001-expected.txt:
        * editing/deleting/delete-contiguous-ws-001-expected.txt:
        * editing/deleting/delete-image-001-expected.txt:
        * editing/deleting/delete-image-002-expected.txt:
        * editing/deleting/delete-image-003-expected.txt:
        * editing/deleting/delete-image-004-expected.txt:
        * editing/deleting/delete-leading-ws-001-expected.txt:
        * editing/deleting/delete-line-001-expected.txt:
        * editing/deleting/delete-line-002-expected.txt:
        * editing/deleting/delete-line-003-expected.txt:
        * editing/deleting/delete-line-004-expected.txt:
        * editing/deleting/delete-line-005-expected.txt:
        * editing/deleting/delete-line-006-expected.txt:
        * editing/deleting/delete-line-007-expected.txt:
        * editing/deleting/delete-line-008-expected.txt:
        * editing/deleting/delete-line-009-expected.txt:
        * editing/deleting/delete-line-010-expected.txt:
        * editing/deleting/delete-line-011-expected.txt:
        * editing/deleting/delete-line-012-expected.txt:
        * editing/deleting/delete-line-013-expected.txt:
        * editing/deleting/delete-line-014-expected.txt:
        * editing/deleting/delete-line-015-expected.txt:
        * editing/deleting/delete-line-016-expected.txt:
        * editing/deleting/delete-line-017-expected.txt:
        * editing/deleting/delete-line-end-ws-001-expected.txt:
        * editing/deleting/delete-line-end-ws-002-expected.txt:
        * editing/deleting/delete-listitem-001-expected.txt:
        * editing/deleting/delete-listitem-002-expected.txt:
        * editing/deleting/delete-select-all-001-expected.txt:
        * editing/deleting/delete-select-all-002-expected.txt:
        * editing/deleting/delete-select-all-003-expected.txt:
        * editing/deleting/delete-selection-001-expected.txt:
        * editing/deleting/delete-tab-001-expected.txt:
        * editing/deleting/delete-tab-002-expected.txt:
        * editing/deleting/delete-tab-003-expected.txt:
        * editing/deleting/delete-tab-004-expected.txt:
        * editing/deleting/delete-trailing-ws-001-expected.txt:
        * editing/deleting/delete-trailing-ws-002-expected.txt:
        * editing/deleting/delete-ws-fixup-001-expected.txt:
        * editing/deleting/delete-ws-fixup-002-expected.txt:
        * editing/deleting/delete-ws-fixup-003-expected.txt:
        * editing/deleting/delete-ws-fixup-004-expected.txt:
        * editing/deleting/forward-delete-expected.txt:
        * editing/deleting/merge-different-styles-expected.txt:
        * editing/deleting/merge-endOfParagraph-expected.txt:
        * editing/deleting/merge-into-empty-block-1-expected.txt:
        * editing/deleting/merge-into-empty-block-2-expected.txt:
        * editing/deleting/merge-no-br-expected.txt:
        * editing/deleting/merge-unrendered-space-expected.txt:
        * editing/deleting/pruning-after-merge-1-expected.txt:
        * editing/deleting/pruning-after-merge-2-expected.txt:
        * editing/deleting/smart-delete-001-expected.txt:
        * editing/deleting/smart-delete-002-expected.txt:
        * editing/deleting/table-cells-expected.txt:
        * editing/execCommand/insertHTML-expected.txt:
        * editing/input/text-input-controller-expected.txt:
        * editing/inserting/insert-3775316-fix-expected.txt:
        * editing/inserting/insert-3851164-fix-expected.txt:
        * editing/inserting/insert-after-delete-001-expected.txt:
        * editing/inserting/insert-div-021-expected.txt:
        * editing/inserting/insert-div-026-expected.txt:
        * editing/pasteboard/4076267-2-expected.txt:
        * editing/pasteboard/4076267-3-expected.txt:
        * editing/pasteboard/4076267-expected.txt:
        * editing/pasteboard/paste-table-002-expected.txt:
        * editing/pasteboard/paste-text-015-expected.txt:
        * editing/selection/move-between-blocks-no-001-expected.txt:
        * editing/selection/select-all-iframe-expected.txt:
        * editing/style/block-style-005-expected.txt:
        * editing/style/smoosh-styles-001-expected.txt:
        * editing/style/smoosh-styles-002-expected.txt:
        * editing/style/style-3681552-fix-002-expected.txt:
        * editing/style/typing-style-001-expected.txt:
        * editing/style/typing-style-002-expected.txt:
        * editing/unsupported-content/list-delete-001-expected.txt:
        * editing/unsupported-content/list-delete-002-expected.txt:
        * editing/unsupported-content/list-delete-003-expected.txt:
        * editing/unsupported-content/table-delete-001-expected.txt:
        * editing/unsupported-content/table-delete-002-expected.txt:
        * editing/unsupported-content/table-delete-003-expected.txt:
        * fast/forms/input-text-option-delete-expected.checksum:
        * fast/forms/input-text-option-delete-expected.txt:

WebCore:

        Reviewed by justin

        Allowed deletion typing commands to take in a granularity

        * bridge/mac/WebCoreFrameBridge.h: Pass granularity across the bridge
        * bridge/mac/WebCoreFrameBridge.mm: Ditto
        (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:]):
        (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:granularity:]):
        * editing/TypingCommand.cpp: Constructors take in a granularity
        (WebCore::TypingCommand::TypingCommand):
        (WebCore::TypingCommand::deleteKeyPressed):
        (WebCore::TypingCommand::forwardDeleteKeyPressed):
        * editing/TypingCommand.h: ditto
        * page/Frame.h: Fixed bug that shouldDeleteSelection wasn't virtual

WebKit:

        Reviewed by justin

        Finished moving deletion selection expansion across the bridge... say that 3 times fast.

        * WebView/WebHTMLView.m:  Pass granularity to WebCore to handle expansion
        (-[WebHTMLView _deleteRange:killRing:prepend:smartDeleteOK:deletionAction:granularity:]):
        (-[WebHTMLView _deleteSelection]):
        (-[NSArray _deleteWithDirection:granularity:killRing:isTypingAction:]):
        (-[NSArray deleteToMark:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
156 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/collapse-whitespace-3587601-fix-expected.txt
LayoutTests/editing/deleting/delete-3608430-fix-expected.txt
LayoutTests/editing/deleting/delete-3608445-fix-expected.txt
LayoutTests/editing/deleting/delete-3608462-fix-expected.txt
LayoutTests/editing/deleting/delete-3775172-fix-expected.txt
LayoutTests/editing/deleting/delete-3800834-fix-expected.txt
LayoutTests/editing/deleting/delete-3857753-fix-expected.txt
LayoutTests/editing/deleting/delete-3865854-fix-expected.txt
LayoutTests/editing/deleting/delete-3928305-fix-expected.txt
LayoutTests/editing/deleting/delete-3959464-fix-expected.txt
LayoutTests/editing/deleting/delete-4038408-fix-expected.txt
LayoutTests/editing/deleting/delete-4083333-fix-expected.txt
LayoutTests/editing/deleting/delete-after-span-ws-001-expected.txt
LayoutTests/editing/deleting/delete-after-span-ws-002-expected.txt
LayoutTests/editing/deleting/delete-after-span-ws-003-expected.txt
LayoutTests/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt
LayoutTests/editing/deleting/delete-and-undo-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-001-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-002-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-003-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-005-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-006-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-007-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-009-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt
LayoutTests/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt
LayoutTests/editing/deleting/delete-block-contents-001-expected.txt
LayoutTests/editing/deleting/delete-block-contents-002-expected.txt
LayoutTests/editing/deleting/delete-block-contents-003-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-001-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-002-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-003-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-004-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-005-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-006-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-007-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-008-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-009-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-010-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-012-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-013-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-014-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-015-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-016-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-017-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-018-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-019-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-020-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-021-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-022-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-023-expected.txt
LayoutTests/editing/deleting/delete-block-merge-contents-024-expected.txt
LayoutTests/editing/deleting/delete-br-001-expected.txt
LayoutTests/editing/deleting/delete-br-002-expected.txt
LayoutTests/editing/deleting/delete-br-003-expected.txt
LayoutTests/editing/deleting/delete-br-004-expected.txt
LayoutTests/editing/deleting/delete-br-005-expected.txt
LayoutTests/editing/deleting/delete-br-006-expected.txt
LayoutTests/editing/deleting/delete-br-007-expected.txt
LayoutTests/editing/deleting/delete-br-008-expected.txt
LayoutTests/editing/deleting/delete-br-009-expected.txt
LayoutTests/editing/deleting/delete-br-010-expected.txt
LayoutTests/editing/deleting/delete-br-011-expected.txt
LayoutTests/editing/deleting/delete-character-001-expected.txt
LayoutTests/editing/deleting/delete-contiguous-ws-001-expected.txt
LayoutTests/editing/deleting/delete-image-001-expected.txt
LayoutTests/editing/deleting/delete-image-002-expected.txt
LayoutTests/editing/deleting/delete-image-003-expected.txt
LayoutTests/editing/deleting/delete-image-004-expected.txt
LayoutTests/editing/deleting/delete-leading-ws-001-expected.txt
LayoutTests/editing/deleting/delete-line-001-expected.txt
LayoutTests/editing/deleting/delete-line-002-expected.txt
LayoutTests/editing/deleting/delete-line-003-expected.txt
LayoutTests/editing/deleting/delete-line-004-expected.txt
LayoutTests/editing/deleting/delete-line-005-expected.txt
LayoutTests/editing/deleting/delete-line-006-expected.txt
LayoutTests/editing/deleting/delete-line-007-expected.txt
LayoutTests/editing/deleting/delete-line-008-expected.txt
LayoutTests/editing/deleting/delete-line-009-expected.txt
LayoutTests/editing/deleting/delete-line-010-expected.txt
LayoutTests/editing/deleting/delete-line-011-expected.txt
LayoutTests/editing/deleting/delete-line-012-expected.txt
LayoutTests/editing/deleting/delete-line-013-expected.txt
LayoutTests/editing/deleting/delete-line-014-expected.txt
LayoutTests/editing/deleting/delete-line-015-expected.txt
LayoutTests/editing/deleting/delete-line-016-expected.txt
LayoutTests/editing/deleting/delete-line-017-expected.txt
LayoutTests/editing/deleting/delete-line-end-ws-001-expected.txt
LayoutTests/editing/deleting/delete-line-end-ws-002-expected.txt
LayoutTests/editing/deleting/delete-listitem-001-expected.txt
LayoutTests/editing/deleting/delete-listitem-002-expected.txt
LayoutTests/editing/deleting/delete-select-all-001-expected.txt
LayoutTests/editing/deleting/delete-select-all-002-expected.txt
LayoutTests/editing/deleting/delete-select-all-003-expected.txt
LayoutTests/editing/deleting/delete-selection-001-expected.txt
LayoutTests/editing/deleting/delete-tab-001-expected.txt
LayoutTests/editing/deleting/delete-tab-002-expected.txt
LayoutTests/editing/deleting/delete-tab-003-expected.txt
LayoutTests/editing/deleting/delete-tab-004-expected.txt
LayoutTests/editing/deleting/delete-trailing-ws-001-expected.txt
LayoutTests/editing/deleting/delete-trailing-ws-002-expected.txt
LayoutTests/editing/deleting/delete-ws-fixup-001-expected.txt
LayoutTests/editing/deleting/delete-ws-fixup-002-expected.txt
LayoutTests/editing/deleting/delete-ws-fixup-003-expected.txt
LayoutTests/editing/deleting/delete-ws-fixup-004-expected.txt
LayoutTests/editing/deleting/forward-delete-expected.txt
LayoutTests/editing/deleting/merge-different-styles-expected.txt
LayoutTests/editing/deleting/merge-endOfParagraph-expected.txt
LayoutTests/editing/deleting/merge-into-empty-block-1-expected.txt
LayoutTests/editing/deleting/merge-into-empty-block-2-expected.txt
LayoutTests/editing/deleting/merge-no-br-expected.txt
LayoutTests/editing/deleting/merge-unrendered-space-expected.txt
LayoutTests/editing/deleting/pruning-after-merge-1-expected.txt
LayoutTests/editing/deleting/pruning-after-merge-2-expected.txt
LayoutTests/editing/deleting/smart-delete-001-expected.txt
LayoutTests/editing/deleting/smart-delete-002-expected.txt
LayoutTests/editing/deleting/table-cells-expected.txt
LayoutTests/editing/execCommand/insertHTML-expected.txt
LayoutTests/editing/input/text-input-controller-expected.txt
LayoutTests/editing/inserting/insert-3775316-fix-expected.txt
LayoutTests/editing/inserting/insert-3851164-fix-expected.txt
LayoutTests/editing/inserting/insert-after-delete-001-expected.txt
LayoutTests/editing/inserting/insert-div-021-expected.txt
LayoutTests/editing/inserting/insert-div-026-expected.txt
LayoutTests/editing/pasteboard/4076267-2-expected.txt
LayoutTests/editing/pasteboard/4076267-3-expected.txt
LayoutTests/editing/pasteboard/4076267-expected.txt
LayoutTests/editing/pasteboard/paste-table-002-expected.txt
LayoutTests/editing/pasteboard/paste-text-015-expected.txt
LayoutTests/editing/selection/move-between-blocks-no-001-expected.txt
LayoutTests/editing/selection/select-all-iframe-expected.txt
LayoutTests/editing/style/block-style-005-expected.txt
LayoutTests/editing/style/smoosh-styles-001-expected.txt
LayoutTests/editing/style/smoosh-styles-002-expected.txt
LayoutTests/editing/style/style-3681552-fix-002-expected.txt
LayoutTests/editing/style/typing-style-001-expected.txt
LayoutTests/editing/style/typing-style-002-expected.txt
LayoutTests/editing/unsupported-content/list-delete-001-expected.txt
LayoutTests/editing/unsupported-content/list-delete-002-expected.txt
LayoutTests/editing/unsupported-content/list-delete-003-expected.txt
LayoutTests/editing/unsupported-content/table-delete-001-expected.txt
LayoutTests/editing/unsupported-content/table-delete-002-expected.txt
LayoutTests/editing/unsupported-content/table-delete-003-expected.txt
LayoutTests/fast/forms/input-text-option-delete-expected.checksum
LayoutTests/fast/forms/input-text-option-delete-expected.txt
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreFrameBridge.h
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebCore/editing/TypingCommand.cpp
WebCore/editing/TypingCommand.h
WebCore/page/Frame.h
WebKit/ChangeLog
WebKit/WebView/WebHTMLView.m