Rename Editing tests whose expectations are Mac specific
https://bugs.webkit.org/show_bug.cgi?id=113414

Reviewed by Ryosuke Niwa.

These tests have expectations that assume that word selection
works always as in Mac and therefore will break when ran with
editingBehavior set, for instance, to Windows (see bug
110487). Rename them to have the suffix -mac and explicitly set
editingBehavior to Mac.

When the fix for 110487 lands, counterparts to these tests with
suffix -win, editingBehavior set to win, and updated expectations
will be added.

* editing/deleting/smart-editing-disabled-mac-expected.txt:
Renamed from
LayoutTests/editing/deleting/smart-editing-disabled-expected.txt.
* editing/deleting/smart-editing-disabled-mac.html: Renamed from
LayoutTests/editing/deleting/smart-editing-disabled.html.
* editing/execCommand/remove-format-multiple-elements-mac-expected.txt:
Renamed from
LayoutTests/editing/execCommand/remove-format-multiple-elements-expected.txt.
* editing/execCommand/remove-format-multiple-elements-mac.html:
Renamed from
LayoutTests/editing/execCommand/remove-format-multiple-elements.html.
* editing/execCommand/script-tests/remove-format-multiple-elements-mac.js:
Renamed from
LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements.js.
* editing/execCommand/script-tests/toggle-link-mac.js: Renamed
from LayoutTests/editing/execCommand/script-tests/toggle-link.js.
* editing/execCommand/toggle-link-mac-expected.txt: Renamed from
LayoutTests/editing/execCommand/toggle-link-expected.txt.
* editing/execCommand/toggle-link-mac.html: Renamed from
LayoutTests/editing/execCommand/toggle-link.html.
* editing/style/make-text-writing-direction-inline-mac-expected.txt:
Renamed from
LayoutTests/editing/style/make-text-writing-direction-inline-expected.txt.
* editing/style/make-text-writing-direction-inline-mac.html:
Renamed from
LayoutTests/editing/style/make-text-writing-direction-inline.html.
* editing/style/push-down-font-styles-mac-expected.txt: Renamed
from LayoutTests/editing/style/push-down-font-styles-expected.txt.
* editing/style/push-down-font-styles-mac.html: Renamed from
LayoutTests/editing/style/push-down-implicit-styles.html.
* editing/style/push-down-implicit-styles-around-list-mac-expected.txt:
Renamed from
LayoutTests/editing/style/push-down-implicit-styles-around-list-expected.txt.
* editing/style/push-down-implicit-styles-around-list-mac.html:
Renamed from
LayoutTests/editing/style/push-down-implicit-styles-around-list.html.
* editing/style/push-down-implicit-styles-mac-expected.txt:
Renamed from
LayoutTests/editing/style/push-down-implicit-styles-expected.txt.
* editing/style/push-down-implicit-styles-mac.html: Renamed from
LayoutTests/editing/style/push-down-font-styles.html.
* editing/style/script-tests/make-text-writing-direction-inline-mac.js:
Renamed from
LayoutTests/editing/style/script-tests/make-text-writing-direction-inline.js.
* editing/style/script-tests/push-down-font-styles-mac.js: Renamed
from
LayoutTests/editing/style/script-tests/push-down-font-styles.js.
* editing/style/script-tests/push-down-implicit-styles-around-list-mac.js:
Renamed from
LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list.js.
* editing/style/script-tests/push-down-implicit-styles-mac.js:
Renamed from
LayoutTests/editing/style/script-tests/push-down-implicit-styles.js.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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: http://svn.webkit.org/repository/webkit/trunk@147036 268f45cc-cd09-0410-ab3c-d52691b4dbfc