2011-03-01 Ryosuke Niwa <rniwa@webkit.org>
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2011 13:57:53 +0000 (13:57 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2011 13:57:53 +0000 (13:57 +0000)
commit155f0eccad1ca70ef2453d71a81bf2acb58690cf
tree78943c809bd9dafa1c4c92a99b1eec335c838d0e
parent0c59c30f25fc9e6c0c591f80e23e6eae4be643d1
2011-03-01  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Assertion failure after removing a selection in keydown handler
        https://bugs.webkit.org/show_bug.cgi?id=51389

        Added tests to ensure WebKit updates offset properly when deleting date
        to editing/selection/character-data-mutation.html.

        Added a test to ensure WebKit clears composition marks inside an input
        element when the value is set programatically.

        Many tests are rebaselined due to selection changed caused by the patch
        and additional respondToChangedSelection calls.

        * editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
        * editing/deleting/delete-by-word-001-expected.txt:
        * editing/deleting/delete-by-word-002-expected.txt:
        * editing/deleting/delete-ligature-001-expected.txt:
        * editing/deleting/delete-ligature-002-expected.txt:
        * editing/deleting/delete-ligature-003-expected.txt:
        * editing/deleting/pruning-after-merge-1-expected.txt:
        * editing/deleting/skip-virama-001-expected.txt:
        * editing/execCommand/createLink-expected.txt:
        * editing/execCommand/hilitecolor-expected.txt:
        * editing/execCommand/outdent-nested-lists-1-expected.txt:
        * editing/execCommand/unlink-expected.txt:
        * editing/input/setting-input-value-cancel-ime-composition-expected.txt: Added.
        * editing/input/setting-input-value-cancel-ime-composition.html: Added.
        * editing/inserting/insert-thai-characters-001-expected.txt:
        * editing/pasteboard/copy-in-password-field-expected.txt:
        * editing/pasteboard/paste-into-anchor-text-expected.txt:
        * editing/selection/character-data-mutation-expected.txt:
        * editing/selection/character-data-mutation.html:
        * editing/style/remove-underline-from-stylesheet-expected.txt:
        * editing/style/style-3690704-fix-expected.txt:
        * editing/style/typing-style-003-expected.txt:
        * editing/undo/redo-style-expected.txt:
        * platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt:
        * platform/mac/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3608430-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3608445-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3608462-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3775172-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3800834-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3857753-fix-expected.txt:
        * platform/mac/editing/deleting/delete-3928305-fix-expected.txt:
        * platform/mac/editing/deleting/delete-4083333-fix-expected.txt:
        * platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt:
        * platform/mac/editing/deleting/delete-and-undo-expected.txt:
        * platform/mac/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-010-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-012-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-013-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-014-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-015-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-016-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-018-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-019-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-020-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-021-expected.txt:
        * platform/mac/editing/deleting/delete-block-merge-contents-022-expected.txt:
        * platform/mac/editing/deleting/delete-block-table-expected.txt:
        * platform/mac/editing/deleting/delete-br-007-expected.txt:
        * platform/mac/editing/deleting/delete-character-001-expected.txt:
        * platform/mac/editing/deleting/delete-hr-expected.txt:
        * platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt:
        * platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt:
        * platform/mac/editing/deleting/delete-listitem-001-expected.txt:
        * platform/mac/editing/deleting/delete-listitem-002-expected.txt:
        * platform/mac/editing/deleting/delete-selection-001-expected.txt:
        * platform/mac/editing/deleting/delete-tab-001-expected.txt:
        * platform/mac/editing/deleting/delete-tab-002-expected.txt:
        * platform/mac/editing/deleting/delete-tab-003-expected.txt:
        * platform/mac/editing/deleting/delete-tab-004-expected.txt:
        * platform/mac/editing/deleting/delete-trailing-ws-001-expected.txt:
        * platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt:
        * platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt:
        * platform/mac/editing/deleting/delete-ws-fixup-003-expected.txt:
        * platform/mac/editing/deleting/delete-ws-fixup-004-expected.txt:
        * platform/mac/editing/deleting/forward-delete-expected.txt:
        * platform/mac/editing/deleting/list-item-1-expected.txt:
        * platform/mac/editing/deleting/paragraph-in-preserveNewline-expected.txt:
        * platform/mac/editing/deleting/whitespace-pre-1-expected.txt:
        * platform/mac/editing/execCommand/find-after-replace-expected.txt:
        * platform/mac/editing/execCommand/insertHorizontalRule-expected.txt:
        * platform/mac/editing/execCommand/paste-1-expected.txt:
        * platform/mac/editing/execCommand/paste-2-expected.txt:
        * platform/mac/editing/input/5576619-expected.txt:
        * platform/mac/editing/input/emacs-ctrl-o-expected.txt:
        * platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt:
        * platform/mac/editing/input/text-input-controller-expected.txt:
        * platform/mac/editing/inserting/4278698-expected.txt:
        * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
        * platform/mac/editing/inserting/insert-3654864-fix-expected.txt:
        * platform/mac/editing/inserting/insert-3851164-fix-expected.txt:
        * platform/mac/editing/inserting/insert-after-delete-001-expected.txt:
        * platform/mac/editing/inserting/insert-br-003-expected.txt:
        * platform/mac/editing/inserting/insert-br-006-expected.txt:
        * platform/mac/editing/inserting/insert-br-007-expected.txt:
        * platform/mac/editing/inserting/insert-br-008-expected.txt:
        * platform/mac/editing/inserting/insert-br-009-expected.txt:
        * platform/mac/editing/inserting/insert-br-at-tabspan-002-expected.txt:
        * platform/mac/editing/inserting/insert-br-at-tabspan-003-expected.txt:
        * platform/mac/editing/inserting/insert-div-003-expected.txt:
        * platform/mac/editing/inserting/insert-div-006-expected.txt:
        * platform/mac/editing/inserting/insert-div-007-expected.txt:
        * platform/mac/editing/inserting/insert-div-008-expected.txt:
        * platform/mac/editing/inserting/insert-div-024-expected.txt:
        * platform/mac/editing/inserting/insert-div-025-expected.txt:
        * platform/mac/editing/inserting/insert-space-in-empty-doc-expected.txt:
        * platform/mac/editing/inserting/insert-tab-003-expected.txt:
        * platform/mac/editing/inserting/insert-text-at-tabspan-001-expected.txt:
        * platform/mac/editing/inserting/insert-text-at-tabspan-002-expected.txt:
        * platform/mac/editing/inserting/insert-text-with-newlines-expected.txt:
        * platform/mac/editing/inserting/multiple-lines-selected-expected.txt:
        * platform/mac/editing/inserting/paragraph-separator-03-expected.txt:
        * platform/mac/editing/inserting/redo-expected.txt:
        * platform/mac/editing/inserting/return-key-with-selection-003-expected.txt:
        * platform/mac/editing/inserting/typing-001-expected.txt:
        * platform/mac/editing/inserting/typing-002-expected.txt:
        * platform/mac/editing/inserting/typing-003-expected.txt:
        * platform/mac/editing/inserting/typing-around-br-001-expected.txt:
        * platform/mac/editing/inserting/typing-around-image-001-expected.txt:
        * platform/mac/editing/pasteboard/4076267-2-expected.txt:
        * platform/mac/editing/pasteboard/4076267-3-expected.txt:
        * platform/mac/editing/pasteboard/4076267-expected.txt:
        * platform/mac/editing/pasteboard/4700297-expected.txt:
        * platform/mac/editing/pasteboard/8145-3-expected.txt:
        * platform/mac/editing/pasteboard/bad-placeholder-expected.txt:
        * platform/mac/editing/pasteboard/cut-text-001-expected.txt:
        * platform/mac/editing/pasteboard/emacs-ctrl-a-k-y-expected.txt:
        * platform/mac/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt:
        * platform/mac/editing/pasteboard/interchange-newline-1-expected.txt:
        * platform/mac/editing/pasteboard/interchange-newline-2-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-1-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-2-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-3-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-4-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-5-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-borders-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-list-expected.txt:
        * platform/mac/editing/pasteboard/merge-end-table-expected.txt:
        * platform/mac/editing/pasteboard/paste-line-endings-007-expected.txt:
        * platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
        * platform/mac/editing/pasteboard/paste-line-endings-009-expected.txt:
        * platform/mac/editing/pasteboard/paste-line-endings-010-expected.txt:
        * platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
        * platform/mac/editing/pasteboard/paste-pre-001-expected.txt:
        * platform/mac/editing/pasteboard/paste-pre-002-expected.txt:
        * platform/mac/editing/pasteboard/paste-table-003-expected.txt:
        * platform/mac/editing/pasteboard/paste-table-cells-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-001-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-002-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-003-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-004-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-005-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-008-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-009-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-019-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-003-expected.txt:
        * platform/mac/editing/pasteboard/paste-xml-expected.txt:
        * platform/mac/editing/pasteboard/pasting-object-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-006-expected.txt:
        * platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
        * platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
        * platform/mac/editing/selection/move-between-blocks-no-001-expected.txt:
        * platform/mac/editing/selection/replace-selection-1-expected.txt:
        * platform/mac/editing/selection/select-all-iframe-expected.txt:
        * platform/mac/editing/spelling/spelling-expected.txt:
        * platform/mac/editing/style/relative-font-size-change-002-expected.txt:
        * platform/mac/editing/style/relative-font-size-change-003-expected.txt:
        * platform/mac/editing/style/smoosh-styles-001-expected.txt:
        * platform/mac/editing/style/style-3681552-fix-001-expected.txt:
        * platform/mac/editing/style/style-3681552-fix-002-expected.txt:
        * platform/mac/editing/style/style-boundary-002-expected.txt:
        * platform/mac/editing/style/style-boundary-003-expected.txt:
        * platform/mac/editing/style/style-boundary-005-expected.txt:
        * platform/mac/editing/style/typing-style-001-expected.txt:
        * platform/mac/editing/style/typing-style-002-expected.txt:
        * platform/mac/editing/style/unbold-in-bold-expected.txt:
        * platform/mac/editing/undo/4063751-expected.txt:
        * platform/mac/editing/undo/redo-typing-001-expected.txt:
        * platform/mac/editing/undo/undo-combined-delete-boundary-expected.txt:
        * platform/mac/editing/undo/undo-combined-delete-expected.txt:
        * platform/mac/editing/undo/undo-delete-boundary-expected.txt:
        * platform/mac/editing/undo/undo-delete-expected.txt:
        * platform/mac/editing/undo/undo-forward-delete-boundary-expected.txt:
        * platform/mac/editing/undo/undo-forward-delete-expected.txt:
        * platform/mac/editing/undo/undo-misspellings-expected.txt:
        * platform/mac/editing/undo/undo-typing-001-expected.txt:
        * platform/mac/editing/unsupported-content/list-type-after-expected.txt:
        * platform/mac/editing/unsupported-content/list-type-before-expected.txt:
        * platform/mac/editing/unsupported-content/table-type-after-expected.txt:
        * platform/mac/editing/unsupported-content/table-type-before-expected.txt:
        * platform/mac/fast/dom/delete-contents-expected.txt:
2011-03-01  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Assertion failure after removing a selection in keydown handler
        https://bugs.webkit.org/show_bug.cgi?id=51389

        The bug was caused by textWillBeReplaced's not always updating selection, and
        shouldRemovePositionAfterAdoptingTextReplacement's not moving the end offset when it's
        at the end of replaced data.

        Fixed the bug by always updating selection in textWillBeReplaced and fixing the condition
        to move the offset in shouldRemovePositionAfterAdoptingTextReplacement. Also added a call
        to setSelection instead of directly modifying m_selection to notify all the clients.
        Namely, the call to EditorClient::respondToChangedSelection is required for
        setting-input-value-cancel-ime-composition.html.

        Note that we must update layout before calling setSelection because setSelection calls
        setFocusedNodeIfNeeded and it requires layout to be up-to-date. Without this call, tests
        such as fast/forms/input-appearance-maxlength.html hits an assertion in Node::isFocusable.

        Test: editing/input/setting-input-value-cancel-ime-composition.html

        * editing/SelectionController.cpp:
        (WebCore::shouldRemovePositionAfterAdoptingTextReplacement): When replacing text, the offset
        of the selection end must be updated even if it was at the end of the replaced text.
        e.g. removing "world" from "hello world] WebKit" should result in "hello ] WebKit" not
        "hello  WebK[it". Note we don't move the offset if no text is removed because appending
        "world" to "hello ]" should result in "hello ]world" not "hello world]".
        (WebCore::SelectionController::textWillBeReplaced): Calls setSelection to update
        the selection instead of modifying m_selection directly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
191 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt
LayoutTests/editing/deleting/delete-by-word-001-expected.txt
LayoutTests/editing/deleting/delete-by-word-002-expected.txt
LayoutTests/editing/deleting/delete-ligature-001-expected.txt
LayoutTests/editing/deleting/delete-ligature-002-expected.txt
LayoutTests/editing/deleting/delete-ligature-003-expected.txt
LayoutTests/editing/deleting/pruning-after-merge-1-expected.txt
LayoutTests/editing/deleting/skip-virama-001-expected.txt
LayoutTests/editing/execCommand/createLink-expected.txt
LayoutTests/editing/execCommand/hilitecolor-expected.txt
LayoutTests/editing/execCommand/outdent-nested-lists-1-expected.txt
LayoutTests/editing/execCommand/unlink-expected.txt
LayoutTests/editing/input/setting-input-value-cancel-ime-composition-expected.txt [new file with mode: 0644]
LayoutTests/editing/input/setting-input-value-cancel-ime-composition.html [new file with mode: 0644]
LayoutTests/editing/inserting/insert-thai-characters-001-expected.txt
LayoutTests/editing/pasteboard/copy-in-password-field-expected.txt
LayoutTests/editing/pasteboard/paste-into-anchor-text-expected.txt
LayoutTests/editing/selection/character-data-mutation-expected.txt
LayoutTests/editing/selection/character-data-mutation.html
LayoutTests/editing/style/remove-underline-from-stylesheet-expected.txt
LayoutTests/editing/style/style-3690704-fix-expected.txt
LayoutTests/editing/style/typing-style-003-expected.txt
LayoutTests/editing/undo/redo-style-expected.txt
LayoutTests/platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt
LayoutTests/platform/mac/editing/deleting/collapse-whitespace-3587601-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3608430-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3608445-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3608462-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3775172-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3800834-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3857753-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-3928305-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-4083333-fix-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-and-undo-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-010-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-012-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-013-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-014-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-015-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-016-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-018-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-019-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-020-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-021-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-merge-contents-022-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-br-007-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-character-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-hr-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-listitem-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-listitem-002-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-selection-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-tab-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-tab-002-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-tab-003-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-tab-004-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-trailing-ws-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-ws-fixup-003-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-ws-fixup-004-expected.txt
LayoutTests/platform/mac/editing/deleting/forward-delete-expected.txt
LayoutTests/platform/mac/editing/deleting/list-item-1-expected.txt
LayoutTests/platform/mac/editing/deleting/paragraph-in-preserveNewline-expected.txt
LayoutTests/platform/mac/editing/deleting/whitespace-pre-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/find-after-replace-expected.txt
LayoutTests/platform/mac/editing/execCommand/insertHorizontalRule-expected.txt
LayoutTests/platform/mac/editing/execCommand/paste-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/paste-2-expected.txt
LayoutTests/platform/mac/editing/input/5576619-expected.txt
LayoutTests/platform/mac/editing/input/emacs-ctrl-o-expected.txt
LayoutTests/platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt
LayoutTests/platform/mac/editing/input/text-input-controller-expected.txt
LayoutTests/platform/mac/editing/inserting/4278698-expected.txt
LayoutTests/platform/mac/editing/inserting/editing-empty-divs-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-3654864-fix-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-3851164-fix-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-after-delete-001-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-003-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-006-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-007-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-008-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-009-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-at-tabspan-002-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-br-at-tabspan-003-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-003-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-006-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-007-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-008-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-024-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-div-025-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-space-in-empty-doc-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-tab-003-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-text-at-tabspan-001-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-text-at-tabspan-002-expected.txt
LayoutTests/platform/mac/editing/inserting/insert-text-with-newlines-expected.txt
LayoutTests/platform/mac/editing/inserting/multiple-lines-selected-expected.txt
LayoutTests/platform/mac/editing/inserting/paragraph-separator-03-expected.txt
LayoutTests/platform/mac/editing/inserting/redo-expected.txt
LayoutTests/platform/mac/editing/inserting/return-key-with-selection-003-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-001-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-002-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-003-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-around-br-001-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-around-image-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4076267-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4076267-3-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4076267-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4700297-expected.txt
LayoutTests/platform/mac/editing/pasteboard/8145-3-expected.txt
LayoutTests/platform/mac/editing/pasteboard/bad-placeholder-expected.txt
LayoutTests/platform/mac/editing/pasteboard/cut-text-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/emacs-ctrl-a-k-y-expected.txt
LayoutTests/platform/mac/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-3-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-4-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-5-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-borders-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-list-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-end-table-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-007-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-009-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-line-endings-010-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-match-style-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-pre-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-pre-002-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-table-003-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-table-cells-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-002-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-003-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-004-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-005-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-008-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-009-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-019-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-text-at-tabspan-003-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-xml-expected.txt
LayoutTests/platform/mac/editing/pasteboard/pasting-object-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-004-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-005-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-006-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-007-expected.txt
LayoutTests/platform/mac/editing/pasteboard/smart-paste-008-expected.txt
LayoutTests/platform/mac/editing/selection/move-between-blocks-no-001-expected.txt
LayoutTests/platform/mac/editing/selection/replace-selection-1-expected.txt
LayoutTests/platform/mac/editing/selection/select-all-iframe-expected.txt
LayoutTests/platform/mac/editing/spelling/spelling-expected.txt
LayoutTests/platform/mac/editing/style/relative-font-size-change-002-expected.txt
LayoutTests/platform/mac/editing/style/relative-font-size-change-003-expected.txt
LayoutTests/platform/mac/editing/style/smoosh-styles-001-expected.txt
LayoutTests/platform/mac/editing/style/style-3681552-fix-001-expected.txt
LayoutTests/platform/mac/editing/style/style-3681552-fix-002-expected.txt
LayoutTests/platform/mac/editing/style/style-boundary-002-expected.txt
LayoutTests/platform/mac/editing/style/style-boundary-003-expected.txt
LayoutTests/platform/mac/editing/style/style-boundary-005-expected.txt
LayoutTests/platform/mac/editing/style/typing-style-001-expected.txt
LayoutTests/platform/mac/editing/style/typing-style-002-expected.txt
LayoutTests/platform/mac/editing/style/unbold-in-bold-expected.txt
LayoutTests/platform/mac/editing/undo/4063751-expected.txt
LayoutTests/platform/mac/editing/undo/redo-typing-001-expected.txt
LayoutTests/platform/mac/editing/undo/undo-combined-delete-boundary-expected.txt
LayoutTests/platform/mac/editing/undo/undo-combined-delete-expected.txt
LayoutTests/platform/mac/editing/undo/undo-delete-boundary-expected.txt
LayoutTests/platform/mac/editing/undo/undo-delete-expected.txt
LayoutTests/platform/mac/editing/undo/undo-forward-delete-boundary-expected.txt
LayoutTests/platform/mac/editing/undo/undo-forward-delete-expected.txt
LayoutTests/platform/mac/editing/undo/undo-misspellings-expected.txt
LayoutTests/platform/mac/editing/undo/undo-typing-001-expected.txt
LayoutTests/platform/mac/editing/unsupported-content/list-type-after-expected.txt
LayoutTests/platform/mac/editing/unsupported-content/list-type-before-expected.txt
LayoutTests/platform/mac/editing/unsupported-content/table-type-after-expected.txt
LayoutTests/platform/mac/editing/unsupported-content/table-type-before-expected.txt
LayoutTests/platform/mac/fast/dom/delete-contents-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/editing/SelectionController.cpp