Explicitly set editingBehavior in some tests.
authorcsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Mar 2013 00:33:25 +0000 (00:33 +0000)
committercsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Mar 2013 00:33:25 +0000 (00:33 +0000)
commit6856d9de7bf655ae3b1328b21f1f7dd49d9a07ae
tree5c81298bde1b3a93a2a07a4f2c036f7bf537f1b4
parentb0b389924b474eb028166dbfe91dc0263f199714
Explicitly set editingBehavior in some tests.
https://bugs.webkit.org/show_bug.cgi?id=113383

Reviewed by Ryosuke Niwa.

These tests make assumptions on how word selection works.
Actually, word selection will work differently depending on the
editingBehavior in place, see bug 110487, so the only way to
ensure the following tests will do word selection as expected is
to use Mac editing behavior.

* editing/deleting/delete-by-word-001.html: Call setEditingBehavior("mac").
* editing/deleting/list-item-1.html: ditto.
* editing/deleting/non-smart-delete.html: ditto.
* editing/deleting/smart-delete-002.html: ditto.
* editing/deleting/smart-delete-across-editable-boundaries.html: ditto.
* editing/execCommand/hilitecolor.html: ditto.
* editing/execCommand/remove-formatting-2.html: ditto.
* editing/inserting/4960120-2.html: ditto.
* editing/inserting/insert-paragraph-02.html: ditto. ditto.
* editing/inserting/insert-paragraph-03.html: ditto.
* editing/inserting/insert-paragraph-04.html: ditto.
* editing/inserting/paragraph-outside-nested-divs.html: ditto.
* editing/inserting/paragraph-separator-01.html: ditto.
* editing/inserting/paragraph-separator-02.html: ditto.
* editing/inserting/paragraph-separator-03.html: ditto.
* editing/pasteboard/4242293-1.html: ditto.
* editing/pasteboard/4806874.html: ditto.
* editing/pasteboard/5006779.html: ditto.
* editing/pasteboard/8145-2.html: ditto.
* editing/pasteboard/bad-placeholder.html: ditto.
* editing/pasteboard/copy-text-with-backgroundcolor.html: ditto.
* editing/pasteboard/drag-drop-modifies-page.html: ditto.
* editing/pasteboard/get-data-text-plain-drop.html: ditto.
* editing/pasteboard/insert-div-text-into-text.html: ditto.
* editing/pasteboard/merge-end-3.html: ditto.
* editing/pasteboard/merge-end-5.html: ditto.
* editing/pasteboard/merge-end-borders.html: ditto.
* editing/pasteboard/paste-blockquote-3.html: ditto.
* editing/pasteboard/paste-list-004.html: ditto.
* editing/pasteboard/pasting-object.html: ditto.
* editing/selection/4932260-2.html: ditto.
* editing/selection/extend-by-word-002.html: ditto.
* editing/selection/extend-forward-by-word-over-non-editable.html: ditto.
* editing/selection/transformed-selection-rects.html: ditto.
* editing/style/5046875-1.html: ditto.
* editing/style/5046875-2.html: ditto.
* editing/style/fore-color-by-name.html: ditto.
* editing/style/relative-font-size-change-002.html: ditto.
* editing/style/relative-font-size-change-003.html: ditto.
* editing/style/relative-font-size-change-004.html: ditto.
* editing/style/style-boundary-005.html: ditto.
* editing/text-iterator/first-letter-word-boundary.html: ditto.
* editing/undo/undo-combined-delete-boundary.html: ditto.
* editing/undo/undo-combined-delete.html: ditto.
* editing/undo/undo-delete-boundary.html: ditto.
* editing/undo/undo-delete.html: ditto.
* editing/undo/undo-forward-delete-boundary.html: ditto.
* editing/undo/undo-forward-delete.html: ditto.
* fast/dom/34176.html: ditto.
* platform/chromium-win/editing/deleting/non-smart-delete-expected.txt: Updated.
* platform/efl/editing/deleting/non-smart-delete-expected.txt: Updated.
* platform/gtk/editing/deleting/non-smart-delete-expected.txt: Updated.
* platform/qt/editing/deleting/non-smart-delete-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
54 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/delete-by-word-001.html
LayoutTests/editing/deleting/list-item-1.html
LayoutTests/editing/deleting/non-smart-delete.html
LayoutTests/editing/deleting/smart-delete-002.html
LayoutTests/editing/deleting/smart-delete-across-editable-boundaries.html
LayoutTests/editing/execCommand/hilitecolor.html
LayoutTests/editing/execCommand/remove-formatting-2.html
LayoutTests/editing/inserting/4960120-2.html
LayoutTests/editing/inserting/insert-paragraph-02.html
LayoutTests/editing/inserting/insert-paragraph-03.html
LayoutTests/editing/inserting/insert-paragraph-04.html
LayoutTests/editing/inserting/paragraph-outside-nested-divs.html
LayoutTests/editing/inserting/paragraph-separator-01.html
LayoutTests/editing/inserting/paragraph-separator-02.html
LayoutTests/editing/inserting/paragraph-separator-03.html
LayoutTests/editing/pasteboard/4242293-1.html
LayoutTests/editing/pasteboard/4806874.html
LayoutTests/editing/pasteboard/5006779.html
LayoutTests/editing/pasteboard/8145-2.html
LayoutTests/editing/pasteboard/bad-placeholder.html
LayoutTests/editing/pasteboard/copy-text-with-backgroundcolor.html
LayoutTests/editing/pasteboard/drag-drop-modifies-page.html
LayoutTests/editing/pasteboard/get-data-text-plain-drop.html
LayoutTests/editing/pasteboard/insert-div-text-into-text.html
LayoutTests/editing/pasteboard/merge-end-3.html
LayoutTests/editing/pasteboard/merge-end-5.html
LayoutTests/editing/pasteboard/merge-end-borders.html
LayoutTests/editing/pasteboard/paste-blockquote-3.html
LayoutTests/editing/pasteboard/paste-list-004.html
LayoutTests/editing/pasteboard/pasting-object.html
LayoutTests/editing/selection/4932260-2.html
LayoutTests/editing/selection/extend-by-word-002.html
LayoutTests/editing/selection/extend-forward-by-word-over-non-editable.html
LayoutTests/editing/selection/transformed-selection-rects.html
LayoutTests/editing/style/5046875-1.html
LayoutTests/editing/style/5046875-2.html
LayoutTests/editing/style/fore-color-by-name.html
LayoutTests/editing/style/relative-font-size-change-002.html
LayoutTests/editing/style/relative-font-size-change-003.html
LayoutTests/editing/style/relative-font-size-change-004.html
LayoutTests/editing/style/style-boundary-005.html
LayoutTests/editing/text-iterator/first-letter-word-boundary.html
LayoutTests/editing/undo/undo-combined-delete-boundary.html
LayoutTests/editing/undo/undo-combined-delete.html
LayoutTests/editing/undo/undo-delete-boundary.html
LayoutTests/editing/undo/undo-delete.html
LayoutTests/editing/undo/undo-forward-delete-boundary.html
LayoutTests/editing/undo/undo-forward-delete.html
LayoutTests/fast/dom/34176.html
LayoutTests/platform/chromium-win/editing/deleting/non-smart-delete-expected.txt
LayoutTests/platform/efl/editing/deleting/non-smart-delete-expected.txt
LayoutTests/platform/gtk/editing/deleting/non-smart-delete-expected.txt
LayoutTests/platform/qt/editing/deleting/non-smart-delete-expected.txt