2011-02-02 Martin Robinson <mrobinson@igalia.com>
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 02:00:28 +0000 (02:00 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 02:00:28 +0000 (02:00 +0000)
        Unskip the last batch of editing tests needing GTK+ results.

        * platform/gtk/Skipped: Unskip last batch of tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77453 268f45cc-cd09-0410-ab3c-d52691b4dbfc

278 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/gtk/Skipped
LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-004-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-005-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-005-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-006-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-006-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-006-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-background-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-background-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/selection-background-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/word-granularity-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/word-granularity-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/selection/word-granularity-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/spelling/spellcheck-paste-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/5065910-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/5065910-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/5065910-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-style-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-styles-007-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-styles-007-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/block-styles-007-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/designmode-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/designmode-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/designmode-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/table-selection-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/table-selection-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/style/table-selection-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-after-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-after-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-after-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-before-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-before-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/list-type-before-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-001-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-001-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-001-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-002-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-002-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-002-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-003-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-003-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-delete-003-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-after-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-after-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-after-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-before-expected.checksum [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-before-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/editing/unsupported-content/table-type-before-expected.txt [new file with mode: 0644]

index 154480a..4f5b30d 100644 (file)
@@ -1,5 +1,11 @@
 2011-02-02  Martin Robinson  <mrobinson@igalia.com>
 
+        Unskip the last batch of editing tests needing GTK+ results.
+
+        * platform/gtk/Skipped: Unskip last batch of tests.
+
+2011-02-02  Martin Robinson  <mrobinson@igalia.com>
+
         Add one more set of missing editing layout test results for GTK.
 
         * platform/gtk/Skipped: Unskip more editing tests.
index 4a1cd12..6e4da1b 100644 (file)
@@ -118,109 +118,6 @@ fast/dom/Element/id-in-deletebutton.html
 # a caret in editable document even when none was requested programatically.
 editing/selection/designmode-no-caret.html
 
-editing/selection/leave-requested-block.html
-editing/selection/line-wrap-1.html
-editing/selection/line-wrap-2.html
-editing/selection/mixed-editability-1.html
-editing/selection/mixed-editability-2.html
-editing/selection/mixed-editability-3.html
-editing/selection/mixed-editability-4.html
-editing/selection/mixed-editability-5.html
-editing/selection/mixed-editability-8.html
-editing/selection/mixed-editability-9.html
-editing/selection/move-3875618-fix.html
-editing/selection/move-3875641-fix.html
-editing/selection/move-by-character-6.html
-editing/selection/move-by-line-001.html
-editing/selection/move-by-line-002.html
-editing/selection/move-by-word-001.html
-editing/selection/node-removal-1.html
-editing/selection/node-removal-2.html
-editing/selection/paragraph-granularity.html
-editing/selection/previous-line-position.html
-editing/selection/replace-selection-1.html
-editing/selection/replaced-boundaries-1.html
-editing/selection/replaced-boundaries-2.html
-editing/selection/replaced-boundaries-3.html
-editing/selection/select-all-001.html
-editing/selection/select-all-002.html
-editing/selection/select-all-003.html
-editing/selection/select-all-004.html
-editing/selection/select-all-005.html
-editing/selection/select-all-006.html
-editing/selection/select-all-iframe.html
-editing/selection/select-element-paragraph-boundary.html
-editing/selection/select-from-textfield-outwards.html
-editing/selection/select-missing-image.html
-editing/selection/selection-3748164-fix.html
-editing/selection/selection-background.html
-editing/selection/table-caret-1.html
-editing/selection/table-caret-2.html
-editing/selection/table-caret-3.html
-editing/selection/transformed-selection-rects.html
-editing/selection/triple-click-in-pre.html
-editing/selection/unrendered-001.html
-editing/selection/unrendered-002.html
-editing/selection/unrendered-003.html
-editing/selection/unrendered-004.html
-editing/selection/unrendered-005.html
-editing/selection/unrendered-space.html
-editing/selection/word-granularity.html
-editing/spelling/inline_spelling_markers.html
-editing/spelling/spellcheck-attribute.html
-editing/spelling/spelling-hasspellingmarker.html
-editing/spelling/spelling-backspace-between-lines.html
-editing/spelling/spelling-linebreak.html
-editing/spelling/spelling-attribute-change.html
-editing/spelling/spelling-attribute-at-child.html
-editing/spelling/spellcheck-paste.html
-editing/style/5065910.html
-editing/style/apple-style-editable-mix.html
-editing/style/block-style-001.html
-editing/style/block-style-002.html
-editing/style/block-style-004.html
-editing/style/block-style-005.html
-editing/style/block-style-006.html
-editing/style/block-styles-007.html
-editing/style/create-block-for-style-001.html
-editing/style/create-block-for-style-002.html
-editing/style/create-block-for-style-003.html
-editing/style/create-block-for-style-004.html
-editing/style/create-block-for-style-005.html
-editing/style/create-block-for-style-006.html
-editing/style/create-block-for-style-007.html
-editing/style/create-block-for-style-008.html
-editing/style/create-block-for-style-009.html
-editing/style/create-block-for-style-010.html
-editing/style/create-block-for-style-011.html
-editing/style/create-block-for-style-012.html
-editing/style/create-block-for-style-013.html
-editing/style/designmode.html
-editing/style/font-family-with-space.html
-editing/style/non-inheritable-styles.html
-editing/style/relative-font-size-change-002.html
-editing/style/relative-font-size-change-003.html
-editing/style/relative-font-size-change-004.html
-editing/style/smoosh-styles-001.html
-editing/style/smoosh-styles-003.html
-editing/style/style-3998892-fix.html
-editing/style/style-boundary-001.html
-editing/style/style-boundary-002.html
-editing/style/style-boundary-003.html
-editing/style/style-boundary-004.html
-editing/style/style-boundary-005.html
-editing/style/table-selection.html
-editing/undo/undo-typing-001.html
-editing/unsupported-content/list-delete-001.html
-editing/unsupported-content/list-delete-003.html
-editing/unsupported-content/list-type-after.html
-editing/unsupported-content/list-type-before.html
-editing/unsupported-content/table-delete-001.html
-editing/unsupported-content/table-delete-002.html
-editing/unsupported-content/table-delete-003.html
-editing/unsupported-content/table-type-after.html
-editing/unsupported-content/table-type-before.html
-
 # Tests in fast/ directory
 #   Tests failing
 fast/canvas/canvas-getImageData.html
diff --git a/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.checksum b/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.checksum
new file mode 100644 (file)
index 0000000..d6be4bd
--- /dev/null
@@ -0,0 +1 @@
+634ba64f80a12df0be44d875d1791ca4
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.png b/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.png
new file mode 100644 (file)
index 0000000..c65ca8c
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.txt b/LayoutTests/platform/gtk/editing/selection/leave-requested-block-expected.txt
new file mode 100644 (file)
index 0000000..ec0e7a3
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 127x19
+          text run at (0,0) width 127: "Test case for fix for "
+        RenderInline {A} at (0,0) size 343x19 [color=#0000EE]
+          RenderText {#text} at (127,0) size 343x19
+            text run at (127,0) width 343: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5354"
+        RenderText {#text} at (470,0) size 4x19
+          text run at (470,0) width 4: "."
+      RenderBlock {P} at (0,35) size 784x38
+        RenderText {#text} at (0,0) size 772x38
+          text run at (0,0) width 772: "Changes were made to VisiblePosition's so that init() will not leave the block containing the requested position unless there"
+          text run at (0,19) width 231: "are no VisiblePositions in that block."
+      RenderBlock {P} at (0,89) size 784x0
+      RenderBlock {DIV} at (0,89) size 784x55 [border: (2px solid #AAAAFF)]
+        RenderBlock {P} at (2,18) size 780x19
+          RenderText {#text} at (0,0) size 682x19
+            text run at (0,0) width 682: "Select All while inside this editable block should create a selection that does not extend outside of this block."
+layer at (8,168) size 784x19
+  RenderBlock {P} at (0,160) size 784x19
+    RenderText {#text} at (0,0) size 424x19
+      text run at (0,0) width 424: "This is a paragraph outside the editable block with overflow:hidden"
+selection start: position 0 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
+selection end:   position 113 of child 0 {#text} of child 1 {P} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.checksum
new file mode 100644 (file)
index 0000000..d22bfba
--- /dev/null
@@ -0,0 +1 @@
+732c9e1fdcf0dcf4da86c4a79e21cb96
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.png b/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.png
new file mode 100644 (file)
index 0000000..4329de1
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/line-wrap-1-expected.txt
new file mode 100644 (file)
index 0000000..af8c468
--- /dev/null
@@ -0,0 +1,15 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 185x19
+          text run at (0,0) width 185: "Only 'bar' should be selected."
+      RenderBlock {DIV} at (0,35) size 52x40 [border: (1px solid #000000)]
+        RenderText {#text} at (1,1) size 47x38
+          text run at (1,1) width 45: "foo bar"
+          text run at (1,20) width 47: "baz foo"
+selection start: position 4 of child 0 {#text} of child 2 {DIV} of body
+selection end:   position 7 of child 0 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.checksum b/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.checksum
new file mode 100644 (file)
index 0000000..1355909
--- /dev/null
@@ -0,0 +1 @@
+a65750597307e5442a4e3cf9084a6ebd
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.png b/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.png
new file mode 100644 (file)
index 0000000..022188f
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.txt b/LayoutTests/platform/gtk/editing/selection/line-wrap-2-expected.txt
new file mode 100644 (file)
index 0000000..50fef8c
--- /dev/null
@@ -0,0 +1,17 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 230x19
+          text run at (0,0) width 230: "Only 'baz' should be selected below."
+      RenderBlock {DIV} at (50,35) size 52x40 [border: (1px solid #000000)]
+        RenderText {#text} at (1,1) size 45x19
+          text run at (1,1) width 45: "foo bar"
+        RenderInline {A} at (0,0) size 22x19 [color=#0000EE]
+          RenderText {#text} at (1,20) size 22x19
+            text run at (1,20) width 22: "baz"
+selection start: position 0 of child 0 {#text} of child 1 {A} of child 2 {DIV} of body
+selection end:   position 3 of child 0 {#text} of child 1 {A} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.checksum
new file mode 100644 (file)
index 0000000..6df2387
--- /dev/null
@@ -0,0 +1 @@
+a7f4ea80888f8ecfd39086849fe0a761
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.png
new file mode 100644 (file)
index 0000000..cef9d8d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-1-expected.txt
new file mode 100644 (file)
index 0000000..4ab8320
--- /dev/null
@@ -0,0 +1,21 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 3 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > SPAN > BODY > HTML > #document to 1 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > BODY > HTML > #document to 1 of #text > SPAN > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > BODY > HTML > #document to 2 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderInline {SPAN} at (0,0) size 20x19
+        RenderText {#text} at (0,0) size 20x19
+          text run at (0,0) width 20: "On"
+      RenderText {#text} at (20,0) size 784x38
+        text run at (20,0) width 464: "ly the first two letters of the first word in this sentence should be selected. "
+        text run at (484,0) width 298: "To run this test manually, double click between"
+        text run at (782,0) width 2: " "
+        text run at (0,19) width 351: "the first two letters of the first word of the first sentence."
+selection start: position 0 of child 0 {#text} of child 0 {SPAN} of body
+selection end:   position 2 of child 0 {#text} of child 0 {SPAN} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.checksum
new file mode 100644 (file)
index 0000000..d90189f
--- /dev/null
@@ -0,0 +1 @@
+90d133b68c02128e7aa3121bbefba30b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.png
new file mode 100644 (file)
index 0000000..e57c57d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-2-expected.txt
new file mode 100644 (file)
index 0000000..b9de25f
--- /dev/null
@@ -0,0 +1,21 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 57x19
+          text run at (0,0) width 57: "OnlyThe"
+        RenderInline {SPAN} at (0,0) size 32x19
+          RenderText {#text} at (57,0) size 32x19
+            text run at (57,0) width 32: "Bold"
+        RenderText {#text} at (89,0) size 74x19
+          text run at (89,0) width 74: "TextShould"
+        RenderInline {SPAN} at (0,0) size 18x19
+          RenderText {#text} at (163,0) size 18x19
+            text run at (163,0) width 18: "Be"
+        RenderText {#text} at (181,0) size 53x19
+          text run at (181,0) width 53: "Selected"
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
+selection end:   position 4 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.checksum
new file mode 100644 (file)
index 0000000..ded6579
--- /dev/null
@@ -0,0 +1 @@
+13fe1573fda895c33295326f646cf76d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.png
new file mode 100644 (file)
index 0000000..727bc36
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-3-expected.txt
new file mode 100644 (file)
index 0000000..756adce
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 754x38
+          text run at (0,0) width 459: "This tests moving the caret forward through content of mixed editability. "
+          text run at (459,0) width 295: "The caret should move down one line from the"
+          text run at (0,19) width 470: "editable piece to the editable piece that's embedded in a non-editable piece."
+      RenderBlock {DIV} at (0,54) size 784x67
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+        RenderTable {TABLE} at (0,19) size 59x29 [border: (1px outset #808080)]
+          RenderTableSection {TBODY} at (1,1) size 57x27
+            RenderTableRow {TR} at (0,2) size 57x23
+              RenderTableCell {TD} at (2,2) size 53x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 49x19
+                  text run at (2,2) width 49: "editable"
+        RenderBlock (anonymous) at (0,48) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+caret: position 0 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.checksum
new file mode 100644 (file)
index 0000000..e0da40e
--- /dev/null
@@ -0,0 +1 @@
+e72cdfb4dee268b34e75b4cb1514dfd9
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.png
new file mode 100644 (file)
index 0000000..e658deb
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-4-expected.txt
new file mode 100644 (file)
index 0000000..7b431a8
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 754x38
+          text run at (0,0) width 459: "This tests moving the caret forward through content of mixed editability. "
+          text run at (459,0) width 295: "The caret should move down one line from the"
+          text run at (0,19) width 470: "editable piece to the editable piece that's embedded in a non-editable piece."
+      RenderBlock {DIV} at (0,54) size 784x67
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+        RenderTable {TABLE} at (0,19) size 59x29 [border: (1px outset #808080)]
+          RenderTableSection {TBODY} at (1,1) size 57x27
+            RenderTableRow {TR} at (0,2) size 57x23
+              RenderTableCell {TD} at (2,2) size 53x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 49x19
+                  text run at (2,2) width 49: "editable"
+        RenderBlock (anonymous) at (0,48) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+caret: position 2 of child 0 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.checksum
new file mode 100644 (file)
index 0000000..ca4889f
--- /dev/null
@@ -0,0 +1 @@
+df4509276477468beec486d7d5b79a79
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.png
new file mode 100644 (file)
index 0000000..d4dcec7
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-5-expected.txt
new file mode 100644 (file)
index 0000000..94396c6
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 754x38
+          text run at (0,0) width 459: "This tests moving the caret forward through content of mixed editability. "
+          text run at (459,0) width 295: "The caret should move down one line from the"
+          text run at (0,19) width 470: "editable piece to the editable piece that's embedded in a non-editable piece."
+      RenderBlock {DIV} at (0,54) size 784x67
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+        RenderTable {TABLE} at (0,19) size 59x29 [border: (1px outset #808080)]
+          RenderTableSection {TBODY} at (1,1) size 57x27
+            RenderTableRow {TR} at (0,2) size 57x23
+              RenderTableCell {TD} at (2,2) size 53x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 49x19
+                  text run at (2,2) width 49: "editable"
+        RenderBlock (anonymous) at (0,48) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+caret: position 9 of child 2 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.checksum
new file mode 100644 (file)
index 0000000..cbe76e6
--- /dev/null
@@ -0,0 +1 @@
+c51cbfe1804b6a2c5085197196b51b2d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.png
new file mode 100644 (file)
index 0000000..bca92fa
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-8-expected.txt
new file mode 100644 (file)
index 0000000..b5d25be
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 765x38
+          text run at (0,0) width 765: "This tests moving the caret backward through content of mixed editability. The caret should end up back at the start of the"
+          text run at (0,19) width 178: "editable text inside the table."
+      RenderBlock {DIV} at (0,54) size 784x67
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+        RenderTable {TABLE} at (0,19) size 91x29 [border: (1px outset #808080)]
+          RenderTableSection {TBODY} at (1,1) size 89x27
+            RenderTableRow {TR} at (0,2) size 89x23
+              RenderTableCell {TD} at (2,2) size 85x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (2,2) size 81x19
+                  RenderInline {SPAN} at (0,0) size 32x19
+                    RenderText {#text} at (0,0) size 32x19
+                      text run at (0,0) width 32: "static"
+                  RenderInline {SPAN} at (0,0) size 49x19
+                    RenderText {#text} at (32,0) size 49x19
+                      text run at (32,0) width 49: "editable"
+        RenderBlock (anonymous) at (0,48) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 0 {DIV} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.checksum b/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.checksum
new file mode 100644 (file)
index 0000000..cdb2474
--- /dev/null
@@ -0,0 +1 @@
+dd1a13b70bbcb950d92097b69a7bc527
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.png b/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.png
new file mode 100644 (file)
index 0000000..ff0f9a3
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.txt b/LayoutTests/platform/gtk/editing/selection/mixed-editability-9-expected.txt
new file mode 100644 (file)
index 0000000..5706095
--- /dev/null
@@ -0,0 +1,37 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 1 of SPAN > DIV > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 774x38
+          text run at (0,0) width 774: "This tests moving the caret backward through content of mixed editability. The caret should back to just before the outlined"
+          text run at (0,19) width 34: "table."
+      RenderBlock {DIV} at (0,54) size 784x67
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+        RenderTable {TABLE} at (0,19) size 91x29 [border: (1px outset #808080)]
+          RenderTableSection {TBODY} at (1,1) size 89x27
+            RenderTableRow {TR} at (0,2) size 89x23
+              RenderTableCell {TD} at (2,2) size 85x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                RenderBlock {DIV} at (2,2) size 81x19
+                  RenderInline {SPAN} at (0,0) size 32x19
+                    RenderText {#text} at (0,0) size 32x19
+                      text run at (0,0) width 32: "static"
+                  RenderInline {SPAN} at (0,0) size 49x19
+                    RenderText {#text} at (32,0) size 49x19
+                      text run at (32,0) width 49: "editable"
+        RenderBlock (anonymous) at (0,48) size 784x19
+          RenderText {#text} at (0,0) size 49x19
+            text run at (0,0) width 49: "editable"
+caret: position 0 of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.checksum
new file mode 100644 (file)
index 0000000..c77bf07
--- /dev/null
@@ -0,0 +1 @@
+cd1e4d40404367a8fd7d346d3cab0dfe
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.png b/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.png
new file mode 100644 (file)
index 0000000..99fa191
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-3875618-fix-expected.txt
new file mode 100644 (file)
index 0000000..3fd1643
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 5 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [border: (2px solid #FF0000)]
+      RenderBlock {DIV} at (14,14) size 756x56
+        RenderText {#text} at (0,0) size 139x28
+          text run at (0,0) width 139: "There is a tide"
+        RenderBR {BR} at (139,22) size 0x0
+        RenderText {#text} at (0,28) size 197x28
+          text run at (0,28) width 197: "in the affairs of men"
+      RenderBlock {DIV} at (14,70) size 756x28
+        RenderText {#text} at (0,0) size 241x28
+          text run at (0,0) width 241: "Which taken at the flood"
+caret: position 0 of child 2 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.checksum
new file mode 100644 (file)
index 0000000..c77bf07
--- /dev/null
@@ -0,0 +1 @@
+cd1e4d40404367a8fd7d346d3cab0dfe
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.png b/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.png
new file mode 100644 (file)
index 0000000..99fa191
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-3875641-fix-expected.txt
new file mode 100644 (file)
index 0000000..03c65be
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584 [border: (2px solid #FF0000)]
+      RenderBlock {DIV} at (14,14) size 756x28
+        RenderText {#text} at (0,0) size 139x28
+          text run at (0,0) width 139: "There is a tide"
+      RenderBlock {DIV} at (14,42) size 756x28
+        RenderText {#text} at (0,0) size 197x28
+          text run at (0,0) width 197: "in the affairs of men"
+      RenderBlock {DIV} at (14,70) size 756x28
+        RenderText {#text} at (0,0) size 241x28
+          text run at (0,0) width 241: "Which taken at the flood"
+caret: position 0 of child 0 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.checksum
new file mode 100644 (file)
index 0000000..982b4fb
--- /dev/null
@@ -0,0 +1 @@
+8dcf4c83bf87196afa7048af70ff45a1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.png b/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.png
new file mode 100644 (file)
index 0000000..e3a797a
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-by-character-6-expected.txt
new file mode 100644 (file)
index 0000000..24f5b29
--- /dev/null
@@ -0,0 +1,16 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x28
+        RenderInline {SPAN} at (0,0) size 109x28
+          RenderText {#text} at (0,0) size 109x28
+            text run at (0,0) width 38: "foo "
+            text run at (38,0) width 37: "bar "
+            text run at (75,0) width 34: "baz"
+        RenderText {#text} at (0,0) size 0x0
+caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.checksum
new file mode 100644 (file)
index 0000000..1fdd167
--- /dev/null
@@ -0,0 +1 @@
+024f9b94d166d2cecd8eea4ea11890e2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.png b/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.png
new file mode 100644 (file)
index 0000000..ff24363
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.txt
new file mode 100644 (file)
index 0000000..65c7e9d
--- /dev/null
@@ -0,0 +1,27 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x194 [border: (2px solid #FF0000)]
+        RenderBlock {DIV} at (14,14) size 756x166
+          RenderTable {TABLE} at (0,0) size 64x166 [border: (1px outset #808080)]
+            RenderTableSection {TBODY} at (1,1) size 62x164
+              RenderTableRow {TR} at (0,2) size 62x54
+                RenderTableCell {TD} at (2,2) size 58x54 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+                  RenderText {#text} at (13,13) size 32x28
+                    text run at (13,13) width 32: "foo"
+              RenderTableRow {TR} at (0,58) size 62x48
+                RenderTableCell {TD} at (2,69) size 58x26 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
+              RenderTableRow {TR} at (0,108) size 62x54
+                RenderTableCell {TD} at (2,108) size 58x54 [border: (1px inset #808080)] [r=2 c=0 rs=1 cs=1]
+                  RenderText {#text} at (13,13) size 31x28
+                    text run at (13,13) width 31: "bar"
+caret: position 2 of child 1 {TABLE} of child 1 {DIV} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.checksum
new file mode 100644 (file)
index 0000000..ed69611
--- /dev/null
@@ -0,0 +1 @@
+b614d7aa9e90f81dc9e075e0c179515c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.png b/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.png
new file mode 100644 (file)
index 0000000..6212d49
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-by-line-002-expected.txt
new file mode 100644 (file)
index 0000000..27a4e33
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x216 [border: (2px solid #FF0000)]
+        RenderBlock {DIV} at (14,38) size 756x140
+          RenderBlock {OL} at (0,0) size 756x140
+            RenderListItem {LI} at (40,0) size 716x28
+              RenderListMarker at (-31,0) size 24x28: "1"
+              RenderText {#text} at (0,0) size 35x28
+                text run at (0,0) width 35: "one"
+            RenderListItem {LI} at (40,28) size 716x28
+              RenderListMarker at (-31,0) size 24x28: "2"
+              RenderText {#text} at (0,0) size 36x28
+                text run at (0,0) width 36: "two"
+            RenderListItem {LI} at (40,56) size 716x28
+              RenderListMarker at (-31,0) size 24x28: "3"
+              RenderBR {BR} at (0,0) size 0x28
+            RenderListItem {LI} at (40,84) size 716x28
+              RenderListMarker at (-31,0) size 24x28: "4"
+              RenderText {#text} at (0,0) size 40x28
+                text run at (0,0) width 40: "four"
+            RenderListItem {LI} at (40,112) size 716x28
+              RenderListMarker at (-31,0) size 24x28: "5"
+              RenderText {#text} at (0,0) size 38x28
+                text run at (0,0) width 38: "five"
+caret: position 0 of child 0 {BR} of child 2 {LI} of child 1 {OL} of child 1 {DIV} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.checksum b/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.checksum
new file mode 100644 (file)
index 0000000..3602e77
--- /dev/null
@@ -0,0 +1 @@
+eb61497c051ba6924d5fc69c1f7efb57
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.png b/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.png
new file mode 100644 (file)
index 0000000..d2030a5
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.txt b/LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.txt
new file mode 100644 (file)
index 0000000..9f09b03
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #FF0000)]
+        RenderBlock {DIV} at (14,14) size 756x28
+          RenderText {#text} at (0,0) size 32x28
+            text run at (0,0) width 32: "foo"
+        RenderBlock (anonymous) at (14,42) size 756x28
+          RenderText {#text} at (0,0) size 31x28
+            text run at (0,0) width 31: "bar"
+selection start: position 0 of child 2 {#text} of child 1 {DIV} of body
+selection end:   position 3 of child 2 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.checksum
new file mode 100644 (file)
index 0000000..64f3475
--- /dev/null
@@ -0,0 +1 @@
+7938dae89fc616b293b667b384ad7d5f
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.png b/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.png
new file mode 100644 (file)
index 0000000..2e09dd2
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/node-removal-1-expected.txt
new file mode 100644 (file)
index 0000000..1b74263
--- /dev/null
@@ -0,0 +1,23 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 748x38
+          text run at (0,0) width 678: "This tests behavior when a node that serves as the start or end of a selection is removed from the document. "
+          text run at (678,0) width 70: "Ideally, we"
+          text run at (0,19) width 650: "would just adjust the selection when an endpoint is removed, for now, we just blow away the selection."
+      RenderBlock {P} at (0,54) size 784x38
+        RenderText {#text} at (0,0) size 769x38
+          text run at (0,0) width 475: "This test creates a selection that ends inside of a node that will be removed. "
+          text run at (475,0) width 172: "Then the node is removed. "
+          text run at (647,0) width 122: "There should be no"
+          text run at (0,19) width 123: "selection afterward."
+      RenderBlock {DIV} at (0,108) size 784x19
+        RenderText {#text} at (0,0) size 35x19
+          text run at (0,0) width 35: "hello "
+        RenderText {#text} at (35,0) size 42x19
+          text run at (35,0) width 42: "world!"
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.checksum b/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.checksum
new file mode 100644 (file)
index 0000000..18e9e41
--- /dev/null
@@ -0,0 +1 @@
+8cc9e816809fe109afde4f60c38a7e93
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.png b/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.png
new file mode 100644 (file)
index 0000000..c314d56
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.txt b/LayoutTests/platform/gtk/editing/selection/node-removal-2-expected.txt
new file mode 100644 (file)
index 0000000..51a5d8f
--- /dev/null
@@ -0,0 +1,28 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > P > BODY > HTML > #document to 7 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 748x38
+          text run at (0,0) width 678: "This tests behavior when a node that serves as the start or end of a selection is removed from the document. "
+          text run at (678,0) width 70: "Ideally, we"
+          text run at (0,19) width 650: "would just adjust the selection when an endpoint is removed, for now, we just blow away the selection."
+      RenderBlock {P} at (0,54) size 784x38
+        RenderText {#text} at (0,0) size 771x38
+          text run at (0,0) width 475: "This test creates a selection that ends inside of a node that will be removed. "
+          text run at (475,0) width 172: "Then the node is removed. "
+          text run at (647,0) width 124: "Then a Select All is"
+          text run at (0,19) width 64: "executed. "
+          text run at (64,19) width 253: "The entire document should be selected."
+      RenderBlock {DIV} at (0,108) size 784x19
+        RenderText {#text} at (0,0) size 35x19
+          text run at (0,0) width 35: "hello "
+        RenderText {#text} at (35,0) size 42x19
+          text run at (35,0) width 42: "world!"
+selection start: position 0 of child 0 {#text} of child 1 {P} of body
+selection end:   position 7 of child 1 {#text} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.checksum b/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.checksum
new file mode 100644 (file)
index 0000000..dad51da
--- /dev/null
@@ -0,0 +1 @@
+5b2e1f52d0195ff0eecbf83f0568aa49
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.png b/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.png
new file mode 100644 (file)
index 0000000..e04c824
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.txt b/LayoutTests/platform/gtk/editing/selection/paragraph-granularity-expected.txt
new file mode 100644 (file)
index 0000000..798fb75
--- /dev/null
@@ -0,0 +1,55 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 15 of #text > DIV > BODY > HTML > #document to 15 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 15 of #text > DIV > BODY > HTML > #document to 15 of #text > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 5 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 697x19
+          text run at (0,0) width 368: "This tests modifying a selection created with a triple click. "
+          text run at (368,0) width 329: "The new selection should use paragraph granularity."
+      RenderBlock {P} at (0,35) size 784x57 [color=#008000]
+        RenderText {#text} at (0,0) size 771x57
+          text run at (0,0) width 224: "This test does not run interactively. "
+          text run at (224,0) width 414: "It uses the layoutTestControllers eventSender to do mouse clicks. "
+          text run at (638,0) width 121: "To run it manually,"
+          text run at (0,19) width 365: "double click on the blue 'g', then drag down to the red 'g'. "
+          text run at (365,19) width 406: "As you drag, watch the selection that is created, it should always"
+          text run at (0,38) width 244: "start and end on paragraph boundaries."
+      RenderBlock {DIV} at (0,108) size 784x114
+        RenderText {#text} at (0,0) size 84x19
+          text run at (0,0) width 84: "This is a para"
+        RenderInline {SPAN} at (0,0) size 8x19 [color=#0000FF]
+          RenderText {#text} at (84,0) size 8x19
+            text run at (84,0) width 8: "g"
+        RenderText {#text} at (92,0) size 32x19
+          text run at (92,0) width 32: "raph."
+        RenderBR {BR} at (124,15) size 0x0
+        RenderText {#text} at (0,19) size 63x19
+          text run at (0,19) width 63: "Some text"
+        RenderBR {BR} at (63,34) size 0x0
+        RenderText {#text} at (0,38) size 63x19
+          text run at (0,38) width 63: "Some text"
+        RenderBR {BR} at (63,53) size 0x0
+        RenderText {#text} at (0,57) size 63x19
+          text run at (0,57) width 63: "Some text"
+        RenderBR {BR} at (63,72) size 0x0
+        RenderText {#text} at (0,76) size 63x19
+          text run at (0,76) width 63: "Some text"
+        RenderBR {BR} at (63,91) size 0x0
+        RenderText {#text} at (0,95) size 84x19
+          text run at (0,95) width 84: "This is a para"
+        RenderInline {SPAN} at (0,0) size 8x19 [color=#FF0000]
+          RenderText {#text} at (84,95) size 8x19
+            text run at (84,95) width 8: "g"
+        RenderText {#text} at (92,95) size 32x19
+          text run at (92,95) width 32: "raph."
+selection start: position 1 of child 0 {#text} of child 5 {DIV} of body
+selection end:   position 5 of child 14 {#text} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.checksum b/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.checksum
new file mode 100644 (file)
index 0000000..1475886
--- /dev/null
@@ -0,0 +1 @@
+a06a176f91010d22dabc60519de5ee7b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.png b/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.png
new file mode 100644 (file)
index 0000000..c1c843b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.txt b/LayoutTests/platform/gtk/editing/selection/previous-line-position-expected.txt
new file mode 100644 (file)
index 0000000..66f3f42
--- /dev/null
@@ -0,0 +1,35 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x57
+        RenderText {#text} at (0,0) size 241x19
+          text run at (0,0) width 241: "There was a workaround added to fix "
+        RenderInline {A} at (0,0) size 149x19 [color=#0000EE]
+          RenderText {#text} at (241,0) size 149x19
+            text run at (241,0) width 149: "rdar://problem/4033202"
+        RenderText {#text} at (390,0) size 297x19
+          text run at (390,0) width 8: ". "
+          text run at (398,0) width 289: "A bug to remove the workaround was filed as"
+        RenderInline {A} at (0,0) size 149x19 [color=#0000EE]
+          RenderText {#text} at (0,19) size 149x19
+            text run at (0,19) width 149: "rdar://problem/4040763"
+        RenderText {#text} at (149,19) size 761x38
+          text run at (149,19) width 8: ". "
+          text run at (157,19) width 604: "The underlying problem with VisiblePositions was fixed, and so I removed the workaround and"
+          text run at (0,38) width 136: "added this layout test."
+      RenderBlock {DIV} at (0,73) size 784x59 [border: (1px solid #0000FF)]
+        RenderBlock {P} at (1,1) size 782x19
+          RenderText {#text} at (0,0) size 12x19
+            text run at (0,0) width 12: "hi"
+          RenderInline {SPAN} at (0,0) size 0x19
+        RenderBlock (anonymous) at (1,20) size 782x38
+          RenderBR {BR} at (0,0) size 0x19
+          RenderText {#text} at (0,19) size 21x19
+            text run at (0,19) width 21: "test"
+caret: position 0 of child 2 {BR} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.checksum
new file mode 100644 (file)
index 0000000..d57e7ec
--- /dev/null
@@ -0,0 +1 @@
+4e884fe7ee0ce13bd2b411385a1c5e7a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.png b/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.png
new file mode 100644 (file)
index 0000000..8000605
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/replace-selection-1-expected.txt
new file mode 100644 (file)
index 0000000..1c69fae
--- /dev/null
@@ -0,0 +1,26 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of #text > DIV > BODY > HTML > #document to 0 of #text > A > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > A > DIV > BODY > HTML > #document to 4 of #text > A > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 775x38
+          text run at (0,0) width 581: "This tests for a bug when a selection is replaced by content with selectReplacement == true. "
+          text run at (581,0) width 194: "Below, you should see 'A new"
+          text run at (0,19) width 58: "link' and "
+          text run at (58,19) width 153: "'link' should be selected."
+      RenderBlock {DIV} at (0,54) size 784x19
+        RenderText {#text} at (0,0) size 47x19
+          text run at (0,0) width 47: "A new "
+        RenderInline {A} at (0,0) size 24x19 [color=#0000EE]
+          RenderText {#text} at (47,0) size 24x19
+            text run at (47,0) width 24: "link"
+selection start: position 0 of child 0 {#text} of child 1 {A} of child 2 {DIV} of body
+selection end:   position 4 of child 0 {#text} of child 1 {A} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.checksum
new file mode 100644 (file)
index 0000000..ea4282d
--- /dev/null
@@ -0,0 +1 @@
+e195d5ed6adaa1d8ec4197c1781e85c7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.png b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.png
new file mode 100644 (file)
index 0000000..f632596
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-1-expected.txt
new file mode 100644 (file)
index 0000000..6bc2eb9
--- /dev/null
@@ -0,0 +1,26 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 762x38
+          text run at (0,0) width 762: "This tests that when a selection that starts at [replaced element, 1] is painted, the replaced element doesn't appear selected."
+          text run at (0,19) width 304: "This test uses an image for the replaced element."
+      RenderBlock {DIV} at (0,54) size 784x107
+        RenderText {#text} at (0,88) size 22x19
+          text run at (0,88) width 22: "abc"
+        RenderImage {IMG} at (22,0) size 76x103
+        RenderText {#text} at (98,88) size 20x19
+          text run at (98,88) width 20: "def"
+selection start: position 0 of child 2 {#text} of child 3 {DIV} of body
+selection end:   position 3 of child 2 {#text} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.checksum b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.checksum
new file mode 100644 (file)
index 0000000..5076d47
--- /dev/null
@@ -0,0 +1 @@
+989de4f0ce416f7bb512fa39ae1d4f96
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.png b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.png
new file mode 100644 (file)
index 0000000..2feffdd
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.txt b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-2-expected.txt
new file mode 100644 (file)
index 0000000..fbfc9c1
--- /dev/null
@@ -0,0 +1,26 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 759x38
+          text run at (0,0) width 759: "This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected."
+          text run at (0,19) width 304: "This test uses an image for the replaced element."
+      RenderBlock {DIV} at (0,54) size 784x107
+        RenderText {#text} at (0,88) size 22x19
+          text run at (0,88) width 22: "abc"
+        RenderImage {IMG} at (22,0) size 76x103
+        RenderText {#text} at (98,88) size 20x19
+          text run at (98,88) width 20: "def"
+selection start: position 1 of child 0 {#text} of child 3 {DIV} of body
+selection end:   position 4 of child 0 {#text} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.checksum b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.checksum
new file mode 100644 (file)
index 0000000..6100a1b
--- /dev/null
@@ -0,0 +1 @@
+50dba66cff661a36bbdf0b28db74a525
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.png b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.png
new file mode 100644 (file)
index 0000000..cf1c41b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.txt b/LayoutTests/platform/gtk/editing/selection/replaced-boundaries-3-expected.txt
new file mode 100644 (file)
index 0000000..121dd93
--- /dev/null
@@ -0,0 +1,27 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 759x38
+          text run at (0,0) width 759: "This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected."
+          text run at (0,19) width 321: "This test uses a select box for the replaced element."
+      RenderBlock {DIV} at (0,54) size 784x50
+        RenderText {#text} at (0,0) size 22x19
+          text run at (0,0) width 22: "abc"
+        RenderBR {BR} at (22,15) size 0x0
+        RenderMenuList {SELECT} at (2,21) size 287x27 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+          RenderBlock (anonymous) at (1,1) size 285x25
+            RenderText at (3,3) size 255x19
+              text run at (3,3) width 255: "this select box shouldn't be selected"
+        RenderText {#text} at (0,0) size 0x0
+selection start: position 1 of child 0 {#text} of child 3 {DIV} of body
+selection end:   position 1 of child 1 {BR} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.checksum
new file mode 100644 (file)
index 0000000..522c09d
--- /dev/null
@@ -0,0 +1 @@
+15e86fff0b423b08f2c1268bb9a18429
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.png
new file mode 100644 (file)
index 0000000..6bdaaa6
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-001-expected.txt
new file mode 100644 (file)
index 0000000..3231d73
--- /dev/null
@@ -0,0 +1,40 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 737 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x900
+  RenderView at (0,0) size 781x581
+layer at (0,0) size 781x900
+  RenderBlock {HTML} at (0,0) size 781x900
+    RenderBody {BODY} at (8,64) size 765x772
+      RenderBlock {DIV} at (64,0) size 748x772 [border: (50px solid #FF0000)]
+        RenderBlock {DIV} at (74,74) size 600x624
+          RenderText {#text} at (0,10) size 600x604
+            text run at (0,10) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (552,10) width 6: " "
+            text run at (0,58) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (583,58) width 6: " "
+            text run at (0,106) width 571: "dedicated to the proposition that all men are created equal."
+            text run at (571,106) width 6: " "
+            text run at (0,154) width 596: "Now we are engaged in a great civil war, testing whether that"
+            text run at (596,154) width 4: " "
+            text run at (0,202) width 559: "nation, or any nation, so conceived, and so dedicated, can"
+            text run at (559,202) width 6: " "
+            text run at (0,250) width 565: "long endure. We are met here on a great battlefield of that"
+            text run at (565,250) width 6: " "
+            text run at (0,298) width 539: "war. We have come to dedicate a portion of it as a final"
+            text run at (539,298) width 6: " "
+            text run at (0,346) width 551: "resting place for those who here gave their lives that that"
+            text run at (551,346) width 6: " "
+            text run at (0,394) width 573: "nation might live. It is altogether fitting and proper that we"
+            text run at (573,394) width 6: " "
+            text run at (0,442) width 559: "should do this. Four score and seven years ago our fathers"
+            text run at (559,442) width 6: " "
+            text run at (0,490) width 598: "brought forth, upon this continent, a new nation, conceived in"
+            text run at (598,490) width 2: " "
+            text run at (0,538) width 554: "Liberty, and dedicated to the proposition that all men are"
+            text run at (554,538) width 6: " "
+            text run at (0,586) width 136: "created equal."
+selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of body
+selection end:   position 737 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.checksum
new file mode 100644 (file)
index 0000000..16b82d4
--- /dev/null
@@ -0,0 +1 @@
+9daa506f20bb0c795f0334ddd48c7372
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.png
new file mode 100644 (file)
index 0000000..edb7d1c
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-002-expected.txt
new file mode 100644 (file)
index 0000000..acd6b77
--- /dev/null
@@ -0,0 +1,43 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 180 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x900
+  RenderView at (0,0) size 781x581
+layer at (0,0) size 781x900
+  RenderBlock {HTML} at (0,0) size 781x900
+    RenderBody {BODY} at (8,64) size 765x772
+      RenderBlock {DIV} at (64,0) size 748x772 [border: (50px solid #FF0000)]
+        RenderBlock {DIV} at (74,74) size 600x624
+          RenderText {#text} at (0,10) size 589x124
+            text run at (0,10) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (552,10) width 6: " "
+            text run at (0,58) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (583,58) width 6: " "
+            text run at (0,106) width 399: "dedicated to the proposition that all men "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,154) size 590x124
+            text run at (0,154) width 576: "are created equal. Now we are engaged in a great civil war,"
+            text run at (576,154) width 6: " "
+            text run at (0,202) width 584: "testing whether that nation, or any nation, so conceived, and"
+            text run at (584,202) width 6: " "
+            text run at (0,250) width 569: "so dedicated, can long endure. We are met here on a great "
+          RenderBR {BR} at (569,272) size 0x0
+          RenderText {#text} at (0,298) size 600x172
+            text run at (0,298) width 600: "battlefield of that war. We have come to dedicate a portion of"
+            text run at (600,298) width 0: " "
+            text run at (0,346) width 579: "it as a final resting place for those who here gave their lives"
+            text run at (579,346) width 6: " "
+            text run at (0,394) width 582: "that that nation might live. It is altogether fitting and proper"
+            text run at (582,394) width 6: " "
+            text run at (0,442) width 224: "that we should do this. "
+          RenderBR {BR} at (224,464) size 0x0
+          RenderText {#text} at (0,490) size 589x124
+            text run at (0,490) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (552,490) width 6: " "
+            text run at (0,538) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (583,538) width 6: " "
+            text run at (0,586) width 571: "dedicated to the proposition that all men are created equal."
+selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of body
+selection end:   position 180 of child 6 {#text} of child 1 {DIV} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.checksum
new file mode 100644 (file)
index 0000000..b83fff6
--- /dev/null
@@ -0,0 +1 @@
+20743f8e4c45c106a828b70ae3d99ea1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.png
new file mode 100644 (file)
index 0000000..c20e951
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-003-expected.txt
new file mode 100644 (file)
index 0000000..fef446e
--- /dev/null
@@ -0,0 +1,44 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 12 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of BODY > HTML > #document to 6 of BODY > HTML > #document toDOMRange:range from 1 of BODY > HTML > #document to 6 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 812x1044
+  RenderView at (0,0) size 781x581
+layer at (0,0) size 781x1044
+  RenderBlock {HTML} at (0,0) size 781x1044
+    RenderBody {BODY} at (64,64) size 748x916 [border: (50px solid #FF0000)]
+      RenderBlock (anonymous) at (74,74) size 600x768
+        RenderBR {BR} at (0,10) size 0x28
+        RenderBR {BR} at (0,58) size 0x28
+        RenderText {#text} at (0,106) size 600x604
+          text run at (0,106) width 552: "Four score and seven years ago our fathers brought forth,"
+          text run at (552,106) width 6: " "
+          text run at (0,154) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+          text run at (583,154) width 6: " "
+          text run at (0,202) width 571: "dedicated to the proposition that all men are created equal."
+          text run at (571,202) width 6: " "
+          text run at (0,250) width 596: "Now we are engaged in a great civil war, testing whether that"
+          text run at (596,250) width 4: " "
+          text run at (0,298) width 559: "nation, or any nation, so conceived, and so dedicated, can"
+          text run at (559,298) width 6: " "
+          text run at (0,346) width 565: "long endure. We are met here on a great battlefield of that"
+          text run at (565,346) width 6: " "
+          text run at (0,394) width 539: "war. We have come to dedicate a portion of it as a final"
+          text run at (539,394) width 6: " "
+          text run at (0,442) width 551: "resting place for those who here gave their lives that that"
+          text run at (551,442) width 6: " "
+          text run at (0,490) width 573: "nation might live. It is altogether fitting and proper that we"
+          text run at (573,490) width 6: " "
+          text run at (0,538) width 559: "should do this. Four score and seven years ago our fathers"
+          text run at (559,538) width 6: " "
+          text run at (0,586) width 598: "brought forth, upon this continent, a new nation, conceived in"
+          text run at (598,586) width 2: " "
+          text run at (0,634) width 554: "Liberty, and dedicated to the proposition that all men are"
+          text run at (554,634) width 6: " "
+          text run at (0,682) width 142: "created equal. "
+        RenderBR {BR} at (142,704) size 0x0
+        RenderBR {BR} at (0,730) size 0x28
+      RenderBlock {DIV} at (74,842) size 600x0
+selection start: position 0 of child 1 {BR} of body
+selection end:   position 1 of child 5 {BR} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.checksum
new file mode 100644 (file)
index 0000000..d484b06
--- /dev/null
@@ -0,0 +1 @@
+6985d2eb1432c18196f4b05db96bf1b9
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.png
new file mode 100644 (file)
index 0000000..7ad8e5d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-004-expected.txt
new file mode 100644 (file)
index 0000000..7dc37f3
--- /dev/null
@@ -0,0 +1,22 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document toDOMRange:range from 1 of #text > BODY > HTML > #document to 5 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 812x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (64,64) size 748x453 [border: (50px solid #FF0000)]
+      RenderBlock {DIV} at (74,74) size 600x0
+      RenderBlock (anonymous) at (74,74) size 600x48
+        RenderText {#text} at (0,10) size 54x28
+          text run at (0,10) width 54: "Hello"
+      RenderTable {TABLE} at (74,122) size 6x6
+        RenderTableSection {TBODY} at (0,0) size 6x6
+          RenderTableRow {TR} at (0,2) size 6x2
+            RenderTableCell {TD} at (2,2) size 2x2 [r=0 c=0 rs=1 cs=1]
+      RenderBlock (anonymous) at (74,128) size 600x48
+        RenderBR {BR} at (0,10) size 0x28
+selection start: position 1 of child 2 {#text} of body
+selection end:   position 0 of child 5 {BR} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.checksum
new file mode 100644 (file)
index 0000000..dc7c0d8
--- /dev/null
@@ -0,0 +1 @@
+fb6d46e57a5874fc4cf479befd5cf327
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.png
new file mode 100644 (file)
index 0000000..cd1b170
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-005-expected.txt
new file mode 100644 (file)
index 0000000..1aeb583
--- /dev/null
@@ -0,0 +1,14 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 2 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderText {#text} at (0,0) size 745x38
+        text run at (0,0) width 745: "VisiblePositions created at [html, x] where html is non-editable should descend into an editable body, for convenience."
+        text run at (0,19) width 273: "Everything on this page should be selected."
+      RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 0 {#text} of body
+selection end:   position 164 of child 0 {#text} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.checksum
new file mode 100644 (file)
index 0000000..dc7c0d8
--- /dev/null
@@ -0,0 +1 @@
+fb6d46e57a5874fc4cf479befd5cf327
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.png
new file mode 100644 (file)
index 0000000..cd1b170
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-006-expected.txt
new file mode 100644 (file)
index 0000000..85f8d05
--- /dev/null
@@ -0,0 +1,15 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > BODY > HTML > #document to 164 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 2 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderText {#text} at (0,0) size 745x38
+        text run at (0,0) width 745: "VisiblePositions created at [html, x] where html is non-editable should descend into an editable body, for convenience."
+        text run at (0,19) width 273: "Everything on this page should be selected."
+      RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 0 {#text} of body
+selection end:   position 164 of child 0 {#text} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.checksum
new file mode 100644 (file)
index 0000000..cc8db9b
--- /dev/null
@@ -0,0 +1 @@
+da278bf07ac11c312b5e4b5ef4f9f040
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.png b/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.png
new file mode 100644 (file)
index 0000000..19c4b12
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-all-iframe-expected.txt
new file mode 100644 (file)
index 0000000..a85bb8b
--- /dev/null
@@ -0,0 +1,56 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 4 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 11 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 11 of #text > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 11 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 11 of #text > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock (anonymous) at (0,0) size 784x173
+        RenderPartObject {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
+          layer at (0,0) size 300x150
+            RenderView at (0,0) size 300x150
+          layer at (0,0) size 300x150
+            RenderBlock {HTML} at (0,0) size 300x150
+              RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0]
+                RenderBlock {DIV} at (0,0) size 284x19
+                  RenderBR {BR} at (0,0) size 0x19
+        RenderBR {BR} at (304,154) size 0x0
+        RenderBR {BR} at (0,154) size 0x19
+      RenderBlock {P} at (0,189) size 784x38
+        RenderInline {B} at (0,0) size 664x19
+          RenderText {#text} at (0,0) size 664x19
+            text run at (0,0) width 491: "This test uses the eventSender to do a mouse click to focus the subframe. "
+            text run at (491,0) width 173: "It won't run interactively."
+        RenderText {#text} at (664,0) size 723x38
+          text run at (664,0) width 4: " "
+          text run at (668,0) width 55: "To run it"
+          text run at (0,19) width 353: "manually, click on the iframe, Select All, then hit delete."
+      RenderBlock (anonymous) at (0,243) size 784x57
+        RenderText {#text} at (0,0) size 779x57
+          text run at (0,0) width 769: "Selecting all the content in a contenteditable iframe should select the iframe itself (to help the user delete the iframe) only if"
+          text run at (0,19) width 217: "the iframe is in an editable region. "
+          text run at (217,19) width 423: "This test loads ../resources/select-all-iframe-src.html into an iframe. "
+          text run at (640,19) width 139: "That file does a Select"
+          text run at (0,38) width 86: "All + Delete. "
+          text run at (86,38) width 172: "Two things should happen:"
+      RenderBlock {UL} at (0,316) size 784x57
+        RenderListItem {LI} at (40,0) size 744x38
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 731x38
+            text run at (0,0) width 451: "The Select All operation should not select the iframe, only it's contents. "
+            text run at (451,0) width 280: "The results of the Select All will be apparent"
+            text run at (0,19) width 450: "from the delegate messages that DumpRenderTree receives and dumps."
+        RenderListItem {LI} at (40,38) size 744x19
+          RenderListMarker at (-18,0) size 7x19: bullet
+          RenderText {#text} at (0,0) size 336x19
+            text run at (0,0) width 336: "The contents of the editable iframe should be deleted."
diff --git a/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.checksum
new file mode 100644 (file)
index 0000000..66dcae3
--- /dev/null
@@ -0,0 +1 @@
+c38aa7c9eb313be94cd6b7306f50637e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png b/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png
new file mode 100644 (file)
index 0000000..a7090f9
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-element-paragraph-boundary-expected.txt
new file mode 100644 (file)
index 0000000..8edc1cb
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 750x38
+          text run at (0,0) width 326: "This tests paragraphBoundary selection navigation. "
+          text run at (326,0) width 424: "The caret should be at the end of the paragraph below, just after the"
+          text run at (0,19) width 67: "select box."
+      RenderBlock {DIV} at (0,54) size 784x31
+        RenderMenuList {SELECT} at (2,2) size 41x27 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
+          RenderBlock (anonymous) at (1,1) size 39x25
+            RenderText at (3,3) size 9x19
+              text run at (3,3) width 9: "1"
+caret: position 1 of child 0 {SELECT} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.checksum
new file mode 100644 (file)
index 0000000..79e4500
--- /dev/null
@@ -0,0 +1 @@
+9fcc6b6ec04ad1560fd8fb2c1077d17a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.png b/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.png
new file mode 100644 (file)
index 0000000..fc374e8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt
new file mode 100644 (file)
index 0000000..8801a17
--- /dev/null
@@ -0,0 +1,52 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 11 of #text > DIV to 11 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV to 11 of #text > DIV toDOMRange:range from 11 of #text > DIV to 12 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV to 12 of #text > DIV toDOMRange:range from 0 of #text > DIV to 12 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV to 12 of #text > DIV toDOMRange:range from 11 of #text > DIV to 17 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV to 17 of #text > DIV toDOMRange:range from 0 of #text > DIV to 12 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV to 12 of #text > DIV toDOMRange:range from 0 of #text > DIV to 12 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV to 12 of #text > DIV toDOMRange:range from 11 of #text > DIV to 17 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV to 17 of #text > DIV toDOMRange:range from 11 of #text > DIV to 17 of #text > DIV affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock {P} at (0,0) size 784x38
+        RenderText {#text} at (0,0) size 104x19
+          text run at (0,0) width 104: "This is a test for "
+        RenderInline {I} at (0,0) size 755x38
+          RenderInline {A} at (0,0) size 348x19 [color=#0000EE]
+            RenderText {#text} at (104,0) size 348x19
+              text run at (104,0) width 348: "http://bugzilla.opendarwin.org/show_bug.cgi?id=9312"
+          RenderText {#text} at (452,0) size 755x38
+            text run at (452,0) width 4: " "
+            text run at (456,0) width 299: "REGRESSION: Selection bug in new text fields"
+            text run at (0,19) width 210: "when selecting past the first letter"
+        RenderText {#text} at (210,19) size 4x19
+          text run at (210,19) width 4: "."
+      RenderBlock {HR} at (0,54) size 784x2 [border: (1px inset #000000)]
+      RenderBlock {P} at (0,72) size 784x57
+        RenderText {#text} at (0,0) size 778x57
+          text run at (0,0) width 778: "Curabitur pretium, quam quis semper malesuada, est libero feugiat libero, vel fringilla orci nibh sed neque. Quisque eu nulla"
+          text run at (0,19) width 732: "non nisi molestie accumsan. Etiam tellus urna, laoreet ac, laoreet non, suscipit sed, sapien. Phasellus vehicula, sem at"
+          text run at (0,38) width 541: "posuere vehicula, augue nibh molestie nisl, nec ullamcorper lacus ante vulputate pede."
+      RenderBlock (anonymous) at (0,145) size 784x92
+        RenderTextControl {INPUT} at (20,20) size 295x52 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,253) size 784x57
+        RenderText {#text} at (0,0) size 769x57
+          text run at (0,0) width 754: "Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris viverra augue vitae purus."
+          text run at (0,19) width 769: "Morbi sed sem. Donec dui nisi, ultrices non, pretium quis, hendrerit non, est. Donec tellus. Donec eget dui id eros pharetra"
+          text run at (0,38) width 733: "rutrum. Suspendisse sodales lectus sit amet nulla. Morbi tortor arcu, convallis blandit, elementum eu, aliquet a, tellus."
+layer at (40,185) size 271x28
+  RenderBlock {DIV} at (12,12) size 271x28
+    RenderText {#text} at (1,0) size 196x28
+      text run at (1,0) width 196: "Lorem ipsum dolor"
+selection start: position 11 of child 0 {#text} of child 0 {DIV} of child 7 {INPUT} of body
+selection end:   position 17 of child 0 {#text} of child 0 {DIV} of child 7 {INPUT} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.checksum b/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.checksum
new file mode 100644 (file)
index 0000000..c8f441d
--- /dev/null
@@ -0,0 +1 @@
+a8517cc1256cd32aebb08edb0bec8480
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.png b/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.png
new file mode 100644 (file)
index 0000000..67ce813
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.txt b/LayoutTests/platform/gtk/editing/selection/select-missing-image-expected.txt
new file mode 100644 (file)
index 0000000..0b1a6a7
--- /dev/null
@@ -0,0 +1,15 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x128 [border: (2px solid #FF0000)]
+        RenderImage {IMG} at (14,14) size 550x100
+        RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 1 {IMG} of child 1 {DIV} of body
+selection end:   position 1 of child 1 {IMG} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.checksum b/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.checksum
new file mode 100644 (file)
index 0000000..9a9c677
--- /dev/null
@@ -0,0 +1 @@
+024de07b84dbd4e8a758a42679d40c14
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.png b/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.png
new file mode 100644 (file)
index 0000000..75e985a
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.txt b/LayoutTests/platform/gtk/editing/selection/selection-3748164-fix-expected.txt
new file mode 100644 (file)
index 0000000..6990703
--- /dev/null
@@ -0,0 +1,25 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x70 [border: (2px solid #FF0000)]
+        RenderBlock {DIV} at (14,14) size 756x42
+          RenderInline {SPAN} at (0,0) size 0x0
+          RenderBR {BR} at (0,0) size 0x28
+          RenderInline {SPAN} at (0,0) size 29x14
+            RenderText {#text} at (0,28) size 29x14
+              text run at (0,28) width 29: "- Ken"
+          RenderBR {BR} at (29,39) size 0x0
+          RenderInline {SPAN} at (0,0) size 0x0
+          RenderText {#text} at (0,0) size 0x0
+caret: position 5 of child 0 {#text} of child 4 {SPAN} of child 1 {DIV} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-background-expected.checksum b/LayoutTests/platform/gtk/editing/selection/selection-background-expected.checksum
new file mode 100644 (file)
index 0000000..1ef8340
--- /dev/null
@@ -0,0 +1 @@
+4c067437f35f442d54e849cb2f128dd1
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-background-expected.png b/LayoutTests/platform/gtk/editing/selection/selection-background-expected.png
new file mode 100644 (file)
index 0000000..5f003bc
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/selection-background-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/selection-background-expected.txt b/LayoutTests/platform/gtk/editing/selection/selection-background-expected.txt
new file mode 100644 (file)
index 0000000..66aacd7
--- /dev/null
@@ -0,0 +1,14 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 767x19
+          text run at (0,0) width 767: "This tests that the selection tint is grey when the WebView is not focused (using the pixel output from DumpRenderTree)."
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderText {#text} at (0,0) size 178x19
+          text run at (0,0) width 178: "This text should be selected."
+selection start: position 0 of child 0 {#text} of child 3 {DIV} of body
+selection end:   position 29 of child 0 {#text} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.checksum b/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.checksum
new file mode 100644 (file)
index 0000000..1c49271
--- /dev/null
@@ -0,0 +1 @@
+752995c8c1810f37493be0a346fff60a
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.png b/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.png
new file mode 100644 (file)
index 0000000..8b76e29
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.txt b/LayoutTests/platform/gtk/editing/selection/table-caret-1-expected.txt
new file mode 100644 (file)
index 0000000..95d859f
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 381x19
+          text run at (0,0) width 381: "This tests the caret position for the caret before a block table."
+      RenderBlock {DIV} at (0,35) size 784x117
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 21x19
+            text run at (0,0) width 21: "foo"
+        RenderTable {TABLE} at (0,19) size 51x79 [border: (1px solid #999999)]
+          RenderTableSection {TBODY} at (1,1) size 49x77
+            RenderTableRow {TR} at (0,2) size 49x23
+              RenderTableCell {TD} at (2,2) size 45x23 [border: (1px solid #999999)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 22x19
+                  text run at (2,2) width 22: "this"
+            RenderTableRow {TR} at (0,27) size 49x23
+              RenderTableCell {TD} at (2,27) size 45x23 [border: (1px solid #999999)] [r=1 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 10x19
+                  text run at (2,2) width 10: "is"
+            RenderTableRow {TR} at (0,52) size 49x23
+              RenderTableCell {TD} at (2,52) size 45x23 [border: (1px solid #999999)] [r=2 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 41x19
+                  text run at (2,2) width 41: "a table"
+        RenderBlock (anonymous) at (0,98) size 784x19
+          RenderText {#text} at (0,0) size 22x19
+            text run at (0,0) width 22: "baz"
+caret: position 0 of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.checksum b/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.checksum
new file mode 100644 (file)
index 0000000..f92e82f
--- /dev/null
@@ -0,0 +1 @@
+6671179b1c290c883fb9c6df298c41a3
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.png b/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.png
new file mode 100644 (file)
index 0000000..4733061
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.txt b/LayoutTests/platform/gtk/editing/selection/table-caret-2-expected.txt
new file mode 100644 (file)
index 0000000..eaf2724
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 369x19
+          text run at (0,0) width 369: "This tests the caret position for the caret after a block table."
+      RenderBlock {DIV} at (0,35) size 784x117
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 21x19
+            text run at (0,0) width 21: "foo"
+        RenderTable {TABLE} at (0,19) size 51x79 [border: (1px solid #999999)]
+          RenderTableSection {TBODY} at (1,1) size 49x77
+            RenderTableRow {TR} at (0,2) size 49x23
+              RenderTableCell {TD} at (2,2) size 45x23 [border: (1px solid #999999)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 22x19
+                  text run at (2,2) width 22: "this"
+            RenderTableRow {TR} at (0,27) size 49x23
+              RenderTableCell {TD} at (2,27) size 45x23 [border: (1px solid #999999)] [r=1 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 10x19
+                  text run at (2,2) width 10: "is"
+            RenderTableRow {TR} at (0,52) size 49x23
+              RenderTableCell {TD} at (2,52) size 45x23 [border: (1px solid #999999)] [r=2 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 41x19
+                  text run at (2,2) width 41: "a table"
+        RenderBlock (anonymous) at (0,98) size 784x19
+          RenderText {#text} at (0,0) size 22x19
+            text run at (0,0) width 22: "baz"
+caret: position 1 of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.checksum b/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.checksum
new file mode 100644 (file)
index 0000000..c52f261
--- /dev/null
@@ -0,0 +1 @@
+3b00ebd9e5b9324d5dd77bf550605f40
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.png b/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.png
new file mode 100644 (file)
index 0000000..054cc47
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.txt b/LayoutTests/platform/gtk/editing/selection/table-caret-3-expected.txt
new file mode 100644 (file)
index 0000000..411d0f9
--- /dev/null
@@ -0,0 +1,31 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 377x19
+          text run at (0,0) width 377: "This tests the caret position for the caret after an inline table."
+      RenderBlock {DIV} at (0,35) size 784x83
+        RenderText {#text} at (0,64) size 21x19
+          text run at (0,64) width 21: "foo"
+        RenderTable {TABLE} at (21,0) size 51x79 [border: (1px solid #999999)]
+          RenderTableSection {TBODY} at (1,1) size 49x77
+            RenderTableRow {TR} at (0,2) size 49x23
+              RenderTableCell {TD} at (2,2) size 45x23 [border: (1px solid #999999)] [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 22x19
+                  text run at (2,2) width 22: "this"
+            RenderTableRow {TR} at (0,27) size 49x23
+              RenderTableCell {TD} at (2,27) size 45x23 [border: (1px solid #999999)] [r=1 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 10x19
+                  text run at (2,2) width 10: "is"
+            RenderTableRow {TR} at (0,52) size 49x23
+              RenderTableCell {TD} at (2,52) size 45x23 [border: (1px solid #999999)] [r=2 c=0 rs=1 cs=1]
+                RenderText {#text} at (2,2) size 41x19
+                  text run at (2,2) width 41: "a table"
+        RenderText {#text} at (72,64) size 22x19
+          text run at (72,64) width 22: "baz"
+caret: position 1 of child 1 {TABLE} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.checksum b/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.checksum
new file mode 100644 (file)
index 0000000..bef4543
--- /dev/null
@@ -0,0 +1 @@
+abe9dfb5853dc6b9d83640e0cbbf5b51
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.png b/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.png
new file mode 100644 (file)
index 0000000..973fe6c
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.txt b/LayoutTests/platform/gtk/editing/selection/transformed-selection-rects-expected.txt
new file mode 100644 (file)
index 0000000..2e571b3
--- /dev/null
@@ -0,0 +1,22 @@
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x572
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 738x19
+          text run at (0,0) width 738: "Tests that selection rects take transforms into account. The red box should be the bounds of the transformed selection."
+layer at (28,47) size 622x98
+  RenderBlock {DIV} at (20,39) size 622x98 [border: (1px solid #000000)]
+    RenderBlock {P} at (11,35) size 600x28
+      RenderText {#text} at (0,0) size 136x28
+        text run at (0,0) width 136: "Lorem ipsum "
+      RenderInline {SPAN} at (0,0) size 389x28
+        RenderText {#text} at (136,0) size 389x28
+          text run at (136,0) width 389: "dolor sit amet, consectetur adipisicing"
+      RenderText {#text} at (525,0) size 44x28
+        text run at (525,0) width 44: " elit."
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {P} of child 3 {DIV} of body
+selection end:   position 5 of child 0 {#text} of child 1 {SPAN} of child 1 {P} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.checksum b/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.checksum
new file mode 100644 (file)
index 0000000..3e47b12
--- /dev/null
@@ -0,0 +1 @@
+6dbda667657f67dabf7919bf24463815
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.png b/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.png
new file mode 100644 (file)
index 0000000..6ef2e6d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.txt b/LayoutTests/platform/gtk/editing/selection/triple-click-in-pre-expected.txt
new file mode 100644 (file)
index 0000000..fa58bce
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 30 of #text > PRE > DIV > DIV > BODY > HTML > #document to 30 of #text > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 30 of #text > PRE > DIV > DIV > BODY > HTML > #document to 30 of #text > PRE > DIV > DIV > BODY > HTML > #document toDOMRange:range from 16 of #text > PRE > DIV > DIV > BODY > HTML > #document to 30 of #text > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 16 of #text > PRE > DIV > DIV > BODY > HTML > #document to 30 of #text > PRE > DIV > DIV > BODY > HTML > #document toDOMRange:range from 16 of #text > PRE > DIV > DIV > BODY > HTML > #document to 30 of #text > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 678x19
+          text run at (0,0) width 379: "This tests modifying a selection created with a double click. "
+          text run at (379,0) width 299: "The new selection should use word granularity."
+      RenderBlock {P} at (0,35) size 784x57 [color=#008000]
+        RenderText {#text} at (0,0) size 764x57
+          text run at (0,0) width 224: "This test does not run interactively. "
+          text run at (224,0) width 414: "It uses the layoutTestControllers eventSender to do mouse clicks. "
+          text run at (638,0) width 121: "To run it manually,"
+          text run at (0,19) width 522: "triple click on the second line in the box below (anywhere after \"whitespace:pre\"). "
+          text run at (522,19) width 242: "The triple click should select the entire"
+          text run at (0,38) width 27: "line."
+      RenderBlock {DIV} at (0,108) size 784x58
+        RenderBlock {DIV} at (0,0) size 784x58 [border: (1px solid #0000FF)]
+          RenderBlock {PRE} at (1,14) size 782x30
+            RenderText {#text} at (0,0) size 120x30
+              text run at (0,0) width 120: "this text is in"
+              text run at (120,0) width 0: " "
+              text run at (0,15) width 112: "whitespace:pre"
+selection start: position 16 of child 0 {#text} of child 1 {PRE} of child 1 {DIV} of child 5 {DIV} of body
+selection end:   position 30 of child 0 {#text} of child 1 {PRE} of child 1 {DIV} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.checksum
new file mode 100644 (file)
index 0000000..52db3be
--- /dev/null
@@ -0,0 +1 @@
+2e65c97e7cf97183ca61354d989999f7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.png
new file mode 100644 (file)
index 0000000..2d4afe8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-001-expected.txt
new file mode 100644 (file)
index 0000000..782977c
--- /dev/null
@@ -0,0 +1,15 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (8,64) size 784x453
+      RenderBlock {DIV} at (64,0) size 748x196 [border: (50px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 32x28
+          RenderText {#text} at (74,84) size 32x28
+            text run at (74,84) width 32: "foo"
+        RenderText {#text} at (106,84) size 40x28
+          text run at (106,84) width 40: " baz"
+caret: position 3 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.checksum
new file mode 100644 (file)
index 0000000..fd3a13a
--- /dev/null
@@ -0,0 +1 @@
+2ec3ca9ee4057bc3db7e5c9eb18d17ce
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.png
new file mode 100644 (file)
index 0000000..918113d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-002-expected.txt
new file mode 100644 (file)
index 0000000..14ec8b4
--- /dev/null
@@ -0,0 +1,16 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (8,64) size 784x453
+      RenderBlock {DIV} at (64,0) size 748x196 [border: (50px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 32x28
+          RenderText {#text} at (74,84) size 32x28
+            text run at (74,84) width 32: "foo"
+        RenderText {#text} at (106,84) size 40x28
+          text run at (106,84) width 40: " baz"
+caret: position 1 of child 3 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.checksum
new file mode 100644 (file)
index 0000000..10fa5dc
--- /dev/null
@@ -0,0 +1 @@
+19bcafff24ed7805d4c67a0b9b6eca28
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.png
new file mode 100644 (file)
index 0000000..4cad28e
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-003-expected.txt
new file mode 100644 (file)
index 0000000..1181697
--- /dev/null
@@ -0,0 +1,17 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (8,64) size 784x453
+      RenderBlock {DIV} at (64,0) size 748x196 [border: (50px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 32x28
+          RenderText {#text} at (74,84) size 32x28
+            text run at (74,84) width 32: "foo"
+        RenderText {#text} at (106,84) size 40x28
+          text run at (106,84) width 40: " baz"
+selection start: position 0 of child 3 {#text} of child 1 {DIV} of body
+selection end:   position 1 of child 3 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.checksum
new file mode 100644 (file)
index 0000000..52db3be
--- /dev/null
@@ -0,0 +1 @@
+2e65c97e7cf97183ca61354d989999f7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.png
new file mode 100644 (file)
index 0000000..2d4afe8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-004-expected.txt
new file mode 100644 (file)
index 0000000..29218e2
--- /dev/null
@@ -0,0 +1,17 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (8,64) size 784x453
+      RenderBlock {DIV} at (64,0) size 748x196 [border: (50px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 32x28
+          RenderText {#text} at (74,84) size 32x28
+            text run at (74,84) width 32: "foo"
+        RenderText {#text} at (106,84) size 40x28
+          text run at (106,84) width 40: " baz"
+caret: position 3 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.checksum
new file mode 100644 (file)
index 0000000..52db3be
--- /dev/null
@@ -0,0 +1 @@
+2e65c97e7cf97183ca61354d989999f7
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.png
new file mode 100644 (file)
index 0000000..2d4afe8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-005-expected.txt
new file mode 100644 (file)
index 0000000..29218e2
--- /dev/null
@@ -0,0 +1,17 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 820x581
+  RenderView at (0,0) size 800x581
+layer at (0,0) size 800x581
+  RenderBlock {HTML} at (0,0) size 800x581
+    RenderBody {BODY} at (8,64) size 784x453
+      RenderBlock {DIV} at (64,0) size 748x196 [border: (50px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 32x28
+          RenderText {#text} at (74,84) size 32x28
+            text run at (74,84) width 32: "foo"
+        RenderText {#text} at (106,84) size 40x28
+          text run at (106,84) width 40: " baz"
+caret: position 3 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.checksum b/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.checksum
new file mode 100644 (file)
index 0000000..5afd45b
--- /dev/null
@@ -0,0 +1 @@
+ab3e3efa753c2ccf56f7282cc47e47ef
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.png b/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.png
new file mode 100644 (file)
index 0000000..7d86a0e
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.txt b/LayoutTests/platform/gtk/editing/selection/unrendered-space-expected.txt
new file mode 100644 (file)
index 0000000..93e8305
--- /dev/null
@@ -0,0 +1,22 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x57
+        RenderText {#text} at (0,0) size 762x57
+          text run at (0,0) width 623: "This tests visible position creation in unrendered space after rendered text, just before a new block. "
+          text run at (623,0) width 139: "The caret should be at"
+          text run at (0,19) width 737: "the end of the line containing 'foo' because we choose to treat all positions in the unrendered space after 'foo' as being"
+          text run at (0,38) width 753: "visually equivalent to the position just after 'foo', and not visually equivalent to the position on the next line, before 'bar'."
+      RenderBlock {DIV} at (0,73) size 784x38
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 21x19
+            text run at (0,0) width 21: "foo"
+        RenderBlock {DIV} at (0,19) size 784x19
+          RenderText {#text} at (0,0) size 20x19
+            text run at (0,0) width 20: "bar"
+caret: position 3 of child 0 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.checksum b/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.checksum
new file mode 100644 (file)
index 0000000..87b88a8
--- /dev/null
@@ -0,0 +1 @@
+c5ca28dec2f35ea06d9c463f2abcfffa
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.png b/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.png
new file mode 100644 (file)
index 0000000..2af75da
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.txt b/LayoutTests/platform/gtk/editing/selection/word-granularity-expected.txt
new file mode 100644 (file)
index 0000000..bb245a1
--- /dev/null
@@ -0,0 +1,53 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 15 of #text > DIV > BODY > HTML > #document to 15 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 15 of #text > DIV > BODY > HTML > #document to 15 of #text > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > BODY > HTML > #document to 4 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 678x19
+          text run at (0,0) width 379: "This tests modifying a selection created with a double click. "
+          text run at (379,0) width 299: "The new selection should use word granularity."
+      RenderBlock {P} at (0,35) size 784x57 [color=#008000]
+        RenderText {#text} at (0,0) size 771x57
+          text run at (0,0) width 224: "This test does not run interactively. "
+          text run at (224,0) width 414: "It uses the layoutTestControllers eventSender to do mouse clicks. "
+          text run at (638,0) width 121: "To run it manually,"
+          text run at (0,19) width 365: "double click on the blue 'g', then drag down to the red 'g'. "
+          text run at (365,19) width 406: "As you drag, watch the selection that is created, it should always"
+          text run at (0,38) width 214: "start and end on word boundaries."
+      RenderBlock {DIV} at (0,108) size 784x114
+        RenderText {#text} at (0,0) size 84x19
+          text run at (0,0) width 84: "This is a para"
+        RenderInline {SPAN} at (0,0) size 8x19 [color=#0000FF]
+          RenderText {#text} at (84,0) size 8x19
+            text run at (84,0) width 8: "g"
+        RenderText {#text} at (92,0) size 32x19
+          text run at (92,0) width 32: "raph."
+        RenderBR {BR} at (124,15) size 0x0
+        RenderText {#text} at (0,19) size 63x19
+          text run at (0,19) width 63: "Some text"
+        RenderBR {BR} at (63,34) size 0x0
+        RenderText {#text} at (0,38) size 63x19
+          text run at (0,38) width 63: "Some text"
+        RenderBR {BR} at (63,53) size 0x0
+        RenderText {#text} at (0,57) size 63x19
+          text run at (0,57) width 63: "Some text"
+        RenderBR {BR} at (63,72) size 0x0
+        RenderText {#text} at (0,76) size 63x19
+          text run at (0,76) width 63: "Some text"
+        RenderBR {BR} at (63,91) size 0x0
+        RenderText {#text} at (0,95) size 84x19
+          text run at (0,95) width 84: "This is a para"
+        RenderInline {SPAN} at (0,0) size 8x19 [color=#FF0000]
+          RenderText {#text} at (84,95) size 8x19
+            text run at (84,95) width 8: "g"
+        RenderText {#text} at (92,95) size 32x19
+          text run at (92,95) width 32: "raph."
+selection start: position 11 of child 0 {#text} of child 5 {DIV} of body
+selection end:   position 4 of child 14 {#text} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.checksum b/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.checksum
new file mode 100644 (file)
index 0000000..01fbdb3
--- /dev/null
@@ -0,0 +1 @@
+470e6a70e8dd6208359d2aa6c3132424
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png b/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png
new file mode 100644 (file)
index 0000000..6709a3b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/spelling/inline_spelling_markers-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/spelling/spellcheck-paste-expected.txt b/LayoutTests/platform/gtk/editing/spelling/spellcheck-paste-expected.txt
new file mode 100644 (file)
index 0000000..4096b50
--- /dev/null
@@ -0,0 +1,15 @@
+For Bug 40092: Spell checking for pasted text.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+FAIL INPUT should have a marker on for 'foo bar'
+FAIL INPUT should have a marker on for 'fo<b>o ba</b>r'
+FAIL TEXTAREA should have a marker on for 'foo bar'
+FAIL TEXTAREA should have a marker on for 'fo<b>o ba</b>r'
+FAIL DIV should have a marker on for 'foo bar'
+FAIL DIV should have a marker on for 'fo<b>o ba</b>r'
+
diff --git a/LayoutTests/platform/gtk/editing/style/5065910-expected.checksum b/LayoutTests/platform/gtk/editing/style/5065910-expected.checksum
new file mode 100644 (file)
index 0000000..1407267
--- /dev/null
@@ -0,0 +1 @@
+0ddae0ccfbf6d55250e5675feff81de0
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/5065910-expected.png b/LayoutTests/platform/gtk/editing/style/5065910-expected.png
new file mode 100644 (file)
index 0000000..4e05e44
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/5065910-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/5065910-expected.txt b/LayoutTests/platform/gtk/editing/style/5065910-expected.txt
new file mode 100644 (file)
index 0000000..4789b5b
--- /dev/null
@@ -0,0 +1,24 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 447x19
+          text run at (0,0) width 447: "This tests for a bug where the color of pasted text couldn't be changed.'"
+      RenderBlock {DIV} at (0,35) size 784x38
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderInline {FONT} at (0,0) size 148x19 [color=#FF0000]
+            RenderText {#text} at (0,0) size 148x19
+              text run at (0,0) width 148: "This text should be red."
+        RenderBlock {DIV} at (0,19) size 784x19
+          RenderInline {FONT} at (0,0) size 124x19 [color=#0000FF]
+            RenderText {#text} at (0,0) size 124x19
+              text run at (0,0) width 124: "This text should be "
+          RenderInline {FONT} at (0,0) size 235x19 [color=#008000]
+            RenderText {#text} at (124,0) size 235x19
+              text run at (124,0) width 235: "a combination of green and blue, not "
+          RenderInline {FONT} at (0,0) size 24x19 [color=#0000FF]
+            RenderText {#text} at (359,0) size 24x19
+              text run at (359,0) width 24: "red."
+caret: position 37 of child 0 {#text} of child 1 {FONT} of child 1 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.checksum b/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.checksum
new file mode 100644 (file)
index 0000000..3800e7a
--- /dev/null
@@ -0,0 +1 @@
+d78f79f1aea20471c21ae89cd9aded9d
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.png b/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.png
new file mode 100644 (file)
index 0000000..9bbfabb
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.txt b/LayoutTests/platform/gtk/editing/style/apple-style-editable-mix-expected.txt
new file mode 100644 (file)
index 0000000..de32f7f
--- /dev/null
@@ -0,0 +1,41 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of BODY > HTML > #document to 4 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 5 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderTable {TABLE} at (0,0) size 758x25
+        RenderTableSection {TBODY} at (0,0) size 758x25
+          RenderTableRow {TR} at (0,2) size 758x21
+            RenderTableCell {TD} at (2,2) size 644x21 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 642x19
+                text run at (1,1) width 642: "This tests that a style can be applied to a selection that contains both editable and non-editable content."
+                text run at (643,1) width 0: "             "
+            RenderTableCell {TD} at (648,2) size 108x21 [r=0 c=1 rs=1 cs=1]
+              RenderInline {SPAN} at (0,0) size 106x19
+                RenderInline {B} at (0,0) size 106x19
+                  RenderText {#text} at (1,1) size 106x19
+                    text run at (1,1) width 106: "Editable - line 1"
+              RenderText {#text} at (107,1) size 0x19
+                text run at (107,1) width 0: "             "
+      RenderTable {TABLE} at (0,25) size 710x25
+        RenderTableSection {TBODY} at (0,0) size 710x25
+          RenderTableRow {TR} at (0,2) size 710x21
+            RenderTableCell {TD} at (2,2) size 596x21 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 594x19
+                text run at (1,1) width 594: "The test passes if the editable content is bold, and the non editable content remains unchanged."
+                text run at (595,1) width 0: "             "
+            RenderTableCell {TD} at (600,2) size 108x21 [r=0 c=1 rs=1 cs=1]
+              RenderInline {SPAN} at (0,0) size 106x19
+                RenderInline {B} at (0,0) size 106x19
+                  RenderText {#text} at (1,1) size 106x19
+                    text run at (1,1) width 106: "Editable - line 2"
+              RenderText {#text} at (107,1) size 0x19
+                text run at (107,1) width 0: "             "
+selection start: position 0 of child 1 {TABLE} of body
+selection end:   position 2 of child 3 {TABLE} of body
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-001-expected.checksum b/LayoutTests/platform/gtk/editing/style/block-style-001-expected.checksum
new file mode 100644 (file)
index 0000000..e0f0bcf
--- /dev/null
@@ -0,0 +1 @@
+8169b41e3b2a05e91b1edb55d0dc6408
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-001-expected.png b/LayoutTests/platform/gtk/editing/style/block-style-001-expected.png
new file mode 100644 (file)
index 0000000..b08b018
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/block-style-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-001-expected.txt b/LayoutTests/platform/gtk/editing/style/block-style-001-expected.txt
new file mode 100644 (file)
index 0000000..2ea43fc
--- /dev/null
@@ -0,0 +1,27 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+        RenderText {#text} at (202,14) size 284x28
+          text run at (202,14) width 284: "Here is some text. Should be "
+        RenderInline {B} at (0,0) size 89x28
+          RenderText {#text} at (486,14) size 89x28
+            text run at (486,14) width 89: "centered"
+        RenderText {#text} at (575,14) size 6x28
+          text run at (575,14) width 6: "."
+      RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
+        RenderText {#text} at (14,14) size 284x28
+          text run at (14,14) width 284: "Here is some text. Should be "
+        RenderInline {B} at (0,0) size 90x28
+          RenderText {#text} at (298,14) size 90x28
+            text run at (298,14) width 90: "flush left"
+        RenderText {#text} at (388,14) size 6x28
+          text run at (388,14) width 6: "."
+caret: position 1 of child 0 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-002-expected.checksum b/LayoutTests/platform/gtk/editing/style/block-style-002-expected.checksum
new file mode 100644 (file)
index 0000000..e0f0bcf
--- /dev/null
@@ -0,0 +1 @@
+8169b41e3b2a05e91b1edb55d0dc6408
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-002-expected.png b/LayoutTests/platform/gtk/editing/style/block-style-002-expected.png
new file mode 100644 (file)
index 0000000..b08b018
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/block-style-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/block-style-002-expected.txt b/LayoutTests/platform/gtk/editing/style/block-style-002-expected.txt
new file mode 100644 (file)
index 0000000..2ea43fc
--- /dev/null
@@ -0,0 +1,27 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+        RenderText {#text} at (202,14) size 284x28
+          text run at (202,14) width 284: "Here is some text. Should be "
+        RenderInline {B} at (0,0) size 89x28
+          RenderText {#text} at (486,14) size 89x28
+            text run at (486,14) width 89: "centered"
+        RenderText {#text} at (575,14) size 6x28
+          text run at (575,14) width 6: "."
+      RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
+        RenderText {#text} at (14,14) size 284x28
+          text run at (14,14) width 284: "Here is some text. Should be "
+        RenderInline {B} at (0,0) size 90x28
+          RenderText {#text} at (298,14) size 90x28
+            text run at (298,14) width 90: "flush left"
+        RenderText {#text} at (388,14) size 6x28
+          text run at (388,14) width 6: "."
+caret: position 1 of child 0 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.checksum b/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.checksum
new file mode 100644 (file)
index 0000000..5e769e1
--- /dev/null
@@ -0,0 +1 @@
+8e1ebbb2c640cf8c1ff63adf6b560a06
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.png b/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.png
new file mode 100644 (file)
index 0000000..81aa6d8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.txt b/LayoutTests/platform/gtk/editing/style/block-styles-007-expected.txt
new file mode 100644 (file)
index 0000000..177060b
--- /dev/null
@@ -0,0 +1,52 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x240 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x84
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 162x28
+            text run at (0,28) width 162: "Fix for this bug: "
+          RenderInline {A} at (0,0) size 260x28 [color=#0000EE]
+            RenderText {#text} at (162,28) size 260x28
+              text run at (162,28) width 260: "<rdar://problem/3977962>"
+          RenderText {#text} at (422,28) size 749x56
+            text run at (422,28) width 327: " font loses bold style after pasting"
+            text run at (0,56) width 384: "next to existing text and pressing return"
+        RenderBlock {DIV} at (14,114) size 756x112
+          RenderBlock (anonymous) at (0,0) size 756x56
+            RenderText {#text} at (0,0) size 189x28
+              text run at (0,0) width 189: "Expected Results: "
+            RenderBR {BR} at (189,22) size 0x0
+            RenderText {#text} at (0,28) size 436x28
+              text run at (0,28) width 436: "Should see this content in the red box below:"
+          RenderBlock {DIV} at (0,56) size 756x56
+            RenderBlock (anonymous) at (0,0) size 756x28
+              RenderText {#text} at (0,0) size 32x28
+                text run at (0,0) width 32: "foo"
+            RenderBlock {DIV} at (0,28) size 756x28
+              RenderInline {B} at (0,0) size 36x28
+                RenderText {#text} at (0,0) size 36x28
+                  text run at (0,0) width 36: "bar"
+      RenderBlock {DIV} at (0,264) size 784x60
+        RenderBlock {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (2,2) size 780x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (2,30) size 780x28
+            RenderInline {B} at (0,0) size 36x28
+              RenderText {#text} at (0,0) size 36x28
+                text run at (0,0) width 36: "bar"
+caret: position 0 of child 0 {#text} of child 0 {B} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.checksum
new file mode 100644 (file)
index 0000000..a1720ce
--- /dev/null
@@ -0,0 +1 @@
+151d2121cdcc26bb2c584adb08579748
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.png
new file mode 100644 (file)
index 0000000..db70d85
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-001-expected.txt
new file mode 100644 (file)
index 0000000..da572de
--- /dev/null
@@ -0,0 +1,29 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 727x56
+          text run at (14,14) width 721: "Should see \"foo\" centered in its own red box, followed by left-aligned two"
+          text run at (735,14) width 6: " "
+          text run at (14,42) width 424: "lines, \"bar\" and \"baz\", in their own red box."
+      RenderBlock {DIV} at (0,108) size 784x112
+        RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (14,14) size 756x28
+            RenderText {#text} at (362,0) size 32x28
+              text run at (362,0) width 32: "foo"
+          RenderBlock (anonymous) at (14,42) size 756x56
+            RenderText {#text} at (0,0) size 31x28
+              text run at (0,0) width 31: "bar"
+            RenderBR {BR} at (31,22) size 0x0
+            RenderText {#text} at (0,28) size 34x28
+              text run at (0,28) width 34: "baz"
+caret: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.checksum
new file mode 100644 (file)
index 0000000..a56bb8f
--- /dev/null
@@ -0,0 +1 @@
+c9632b79741ef3e0d2102e2177acd917
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.png
new file mode 100644 (file)
index 0000000..ce17333
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.txt
new file mode 100644 (file)
index 0000000..df6fbdf
--- /dev/null
@@ -0,0 +1,31 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 729x56
+          text run at (14,14) width 723: "Should see \"bar\" centered in its own red box, with a left-aligned \"foo\" line"
+          text run at (737,14) width 6: " "
+          text run at (14,42) width 409: "above and a left-aligned \"baz\" line below."
+      RenderBlock {DIV} at (0,108) size 784x112
+        RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+            RenderBR {BR} at (32,22) size 0x0
+          RenderBlock {DIV} at (14,42) size 756x28
+            RenderText {#text} at (362,0) size 31x28
+              text run at (362,0) width 31: "bar"
+          RenderBlock (anonymous) at (14,70) size 756x28
+            RenderText {#text} at (0,0) size 34x28
+              text run at (0,0) width 34: "baz"
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.checksum
new file mode 100644 (file)
index 0000000..f09c1af
--- /dev/null
@@ -0,0 +1 @@
+a0981833ab55109019bdad8667b8625b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.png
new file mode 100644 (file)
index 0000000..0d58f2b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.txt
new file mode 100644 (file)
index 0000000..a76a9ff
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 725x56
+          text run at (14,14) width 719: "Should see \"baz\" centered in its own red box, with a two left-aligned lines"
+          text run at (733,14) width 6: " "
+          text run at (14,42) width 226: "above, \"foo\" and \"bar\"."
+      RenderBlock {DIV} at (0,108) size 784x112
+        RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x56
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+            RenderBR {BR} at (32,22) size 0x0
+            RenderText {#text} at (0,28) size 31x28
+              text run at (0,28) width 31: "bar"
+            RenderBR {BR} at (31,50) size 0x0
+          RenderBlock {DIV} at (14,70) size 756x28
+            RenderText {#text} at (361,0) size 34x28
+              text run at (361,0) width 34: "baz"
+          RenderBlock (anonymous) at (14,98) size 756x0
+caret: position 0 of child 0 {#text} of child 4 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.checksum
new file mode 100644 (file)
index 0000000..fdcfa13
--- /dev/null
@@ -0,0 +1 @@
+b3761ab0354d0db21f68c56994aa9a57
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.png
new file mode 100644 (file)
index 0000000..8902387
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.txt
new file mode 100644 (file)
index 0000000..3803d96
--- /dev/null
@@ -0,0 +1,37 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 731x56
+          text run at (14,14) width 725: "Should see \"foo\" and \"baz\" centered in their own red boxes. The \"bar\" line"
+          text run at (739,14) width 6: " "
+          text run at (14,42) width 225: "should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x112
+        RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (14,14) size 756x28
+            RenderText {#text} at (362,0) size 32x28
+              text run at (362,0) width 32: "foo"
+          RenderBlock (anonymous) at (14,42) size 756x28
+            RenderText {#text} at (0,0) size 31x28
+              text run at (0,0) width 31: "bar"
+            RenderBR {BR} at (31,22) size 0x0
+          RenderBlock {DIV} at (14,70) size 756x28
+            RenderText {#text} at (361,0) size 34x28
+              text run at (361,0) width 34: "baz"
+          RenderBlock (anonymous) at (14,98) size 756x0
+caret: position 3 of child 0 {#text} of child 3 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.checksum
new file mode 100644 (file)
index 0000000..1c5214e
--- /dev/null
@@ -0,0 +1 @@
+d64e874639e00e72c0e91456e3c11ef9
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.png
new file mode 100644 (file)
index 0000000..99fcd0b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-005-expected.txt
new file mode 100644 (file)
index 0000000..6b4df65
--- /dev/null
@@ -0,0 +1,29 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 731x56
+          text run at (14,14) width 725: "Should see \"foo\" and \"bar\" centered in their own red boxes. The \"baz\" line"
+          text run at (739,14) width 6: " "
+          text run at (14,42) width 448: "should be in its own red box, but not centered."
+      RenderBlock {DIV} at (0,108) size 784x168
+        RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (376,14) size 32x28
+            text run at (376,14) width 32: "foo"
+        RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (376,14) size 31x28
+            text run at (376,14) width 31: "bar"
+        RenderBlock {DIV} at (0,112) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (14,14) size 34x28
+            text run at (14,14) width 34: "baz"
+selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 2 of child 0 {#text} of child 3 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.checksum
new file mode 100644 (file)
index 0000000..a5bcd58
--- /dev/null
@@ -0,0 +1 @@
+96b0bed04d9f61d0b31e57b0e063ac61
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.png
new file mode 100644 (file)
index 0000000..71972b8
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.txt
new file mode 100644 (file)
index 0000000..1c92e11
--- /dev/null
@@ -0,0 +1,30 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 731x56
+          text run at (14,14) width 725: "Should see \"bar\" and \"baz\" centered in their own red boxes. The \"foo\" line"
+          text run at (739,14) width 6: " "
+          text run at (14,42) width 448: "should be in its own red box, but not centered."
+      RenderBlock {DIV} at (0,108) size 784x168
+        RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (14,14) size 32x28
+            text run at (14,14) width 32: "foo"
+        RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (376,14) size 31x28
+            text run at (376,14) width 31: "bar"
+        RenderBlock {DIV} at (0,112) size 784x56 [border: (2px solid #FF0000)]
+          RenderText {#text} at (375,14) size 34x28
+            text run at (375,14) width 34: "baz"
+selection start: position 1 of child 0 {#text} of child 3 {DIV} of child 3 {DIV} of body
+selection end:   position 2 of child 0 {#text} of child 5 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.checksum
new file mode 100644 (file)
index 0000000..de1b395
--- /dev/null
@@ -0,0 +1 @@
+4ddff1db3a1f9d0e994e0ff17de10d6e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.png
new file mode 100644 (file)
index 0000000..d5509b6
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-007-expected.txt
new file mode 100644 (file)
index 0000000..84d492b
--- /dev/null
@@ -0,0 +1,30 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 698x56
+          text run at (14,14) width 692: "Should see \"foo\" centered in its own red box. The \"bar\" and \"baz\" lines"
+          text run at (706,14) width 6: " "
+          text run at (14,42) width 225: "should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (14,14) size 756x28
+            RenderText {#text} at (362,0) size 32x28
+              text run at (362,0) width 32: "foo"
+          RenderBlock (anonymous) at (14,42) size 756x0
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (14,14) size 31x28
+              text run at (14,14) width 31: "bar"
+          RenderBlock (anonymous) at (14,98) size 756x28
+            RenderText {#text} at (0,0) size 34x28
+              text run at (0,0) width 34: "baz"
+caret: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.checksum
new file mode 100644 (file)
index 0000000..e639456
--- /dev/null
@@ -0,0 +1 @@
+86103992e8f588d0e1a283b4dddff260
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.png
new file mode 100644 (file)
index 0000000..ae6a4f1
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.txt
new file mode 100644 (file)
index 0000000..7139028
--- /dev/null
@@ -0,0 +1,28 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 698x56
+          text run at (14,14) width 692: "Should see \"bar\" centered in its own red box. The \"foo\" and \"baz\" lines"
+          text run at (706,14) width 6: " "
+          text run at (14,42) width 225: "should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (362,14) size 31x28
+              text run at (362,14) width 31: "bar"
+          RenderBlock (anonymous) at (14,98) size 756x28
+            RenderText {#text} at (0,0) size 34x28
+              text run at (0,0) width 34: "baz"
+caret: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.checksum
new file mode 100644 (file)
index 0000000..4b7f48a
--- /dev/null
@@ -0,0 +1 @@
+0d6719dbd8fde72473bf14bd0346689f
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.png
new file mode 100644 (file)
index 0000000..a59a09f
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.txt
new file mode 100644 (file)
index 0000000..983f37c
--- /dev/null
@@ -0,0 +1,32 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 755x56
+          text run at (14,14) width 749: "Should see \"baz\" centered in its own red box inside the box containing \"foo\"."
+          text run at (763,14) width 6: " "
+          text run at (14,42) width 477: "The \"foo\" and \"bar\" lines should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (14,14) size 31x28
+              text run at (14,14) width 31: "bar"
+          RenderBlock {DIV} at (14,98) size 756x28
+            RenderText {#text} at (361,0) size 34x28
+              text run at (361,0) width 34: "baz"
+          RenderBlock (anonymous) at (14,126) size 756x0
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.checksum
new file mode 100644 (file)
index 0000000..15e7529
--- /dev/null
@@ -0,0 +1 @@
+2622f434275a9fd5df751b2699b6fcb6
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.png
new file mode 100644 (file)
index 0000000..d6bdf18
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-010-expected.txt
new file mode 100644 (file)
index 0000000..18d1563
--- /dev/null
@@ -0,0 +1,33 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 2 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 719x56
+          text run at (14,14) width 713: "Should see the \"foo\" and \"baz\" lines centered in their own red boxes. The"
+          text run at (727,14) width 6: " "
+          text run at (14,42) width 328: "\"baz\" line should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (14,14) size 756x28
+            RenderText {#text} at (362,0) size 32x28
+              text run at (362,0) width 32: "foo"
+          RenderBlock (anonymous) at (14,42) size 756x0
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (362,14) size 31x28
+              text run at (362,14) width 31: "bar"
+          RenderBlock (anonymous) at (14,98) size 756x28
+            RenderText {#text} at (0,0) size 34x28
+              text run at (0,0) width 34: "baz"
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 2 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.checksum
new file mode 100644 (file)
index 0000000..47faf51
--- /dev/null
@@ -0,0 +1 @@
+61693a37e81e29c541c698f11805c92f
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.png
new file mode 100644 (file)
index 0000000..74c6c2b
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.txt
new file mode 100644 (file)
index 0000000..b687ff4
--- /dev/null
@@ -0,0 +1,34 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > DIV > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 718x56
+          text run at (14,14) width 712: "Should see the \"bar\" and \"baz\" lines centered in their own red boxes. The"
+          text run at (726,14) width 6: " "
+          text run at (14,42) width 326: "\"foo\" line should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (362,14) size 31x28
+              text run at (362,14) width 31: "bar"
+          RenderBlock {DIV} at (14,98) size 756x28
+            RenderText {#text} at (361,0) size 34x28
+              text run at (361,0) width 34: "baz"
+          RenderBlock (anonymous) at (14,126) size 756x0
+selection start: position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 1 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.checksum
new file mode 100644 (file)
index 0000000..8cb4411
--- /dev/null
@@ -0,0 +1 @@
+9fd1d53cceb555cbf560dac21678a41b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.png
new file mode 100644 (file)
index 0000000..26d474e
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.txt
new file mode 100644 (file)
index 0000000..cc79233
--- /dev/null
@@ -0,0 +1,36 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 718x56
+          text run at (14,14) width 712: "Should see the \"bar\" and \"baz\" lines centered in their own red boxes. The"
+          text run at (726,14) width 6: " "
+          text run at (14,42) width 326: "\"foo\" line should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (14,42) size 756x84 [border: (2px solid #FF0000)]
+            RenderBlock {DIV} at (14,14) size 728x28
+              RenderText {#text} at (348,0) size 37x28
+                text run at (348,0) width 31: "bar"
+                text run at (379,0) width 6: " "
+            RenderBlock {DIV} at (14,42) size 728x28
+              RenderText {#text} at (347,0) size 34x28
+                text run at (347,0) width 34: "baz"
+            RenderBlock (anonymous) at (14,70) size 728x0
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 1 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.checksum b/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.checksum
new file mode 100644 (file)
index 0000000..3476a58
--- /dev/null
@@ -0,0 +1 @@
+b70922ed80d453ee93473d5b25dd26bb
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.png b/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.png
new file mode 100644 (file)
index 0000000..dad9b90
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.txt b/LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.txt
new file mode 100644 (file)
index 0000000..e88fe00
--- /dev/null
@@ -0,0 +1,34 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 723x56
+          text run at (14,14) width 717: "Should see the \"baz\" line centered in its red box inside the box containing"
+          text run at (731,14) width 6: " "
+          text run at (14,42) width 540: "\"bar\". The \"foo\" and \"bar\" lines should not be centered."
+      RenderBlock {DIV} at (0,108) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (14,42) size 756x84 [border: (2px solid #FF0000)]
+            RenderBlock (anonymous) at (14,14) size 728x28
+              RenderText {#text} at (0,0) size 37x28
+                text run at (0,0) width 37: "bar "
+              RenderBR {BR} at (37,22) size 0x0
+            RenderBlock {DIV} at (14,42) size 728x28
+              RenderText {#text} at (347,0) size 34x28
+                text run at (347,0) width 34: "baz"
+            RenderBlock (anonymous) at (14,70) size 728x0
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/designmode-expected.checksum b/LayoutTests/platform/gtk/editing/style/designmode-expected.checksum
new file mode 100644 (file)
index 0000000..26faffb
--- /dev/null
@@ -0,0 +1 @@
+6c1dffa11d9eb59ff255dfabc4a3cb76
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/designmode-expected.png b/LayoutTests/platform/gtk/editing/style/designmode-expected.png
new file mode 100644 (file)
index 0000000..98aab50
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/designmode-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/designmode-expected.txt b/LayoutTests/platform/gtk/editing/style/designmode-expected.txt
new file mode 100644 (file)
index 0000000..1cfcd87
--- /dev/null
@@ -0,0 +1,21 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 5 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > B > DIV > BODY > HTML > #document to 25 of #text > B > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 737x19
+          text run at (0,0) width 737: "This tests to make sure that rich editing commands like Bold can be performed on text in a document in design mode."
+      RenderBlock {DIV} at (0,35) size 784x19
+        RenderInline {B} at (0,0) size 166x19
+          RenderText {#text} at (0,0) size 166x19
+            text run at (0,0) width 166: "This text should be bold."
+selection start: position 0 of child 0 {#text} of child 0 {B} of child 2 {DIV} of body
+selection end:   position 25 of child 0 {#text} of child 0 {B} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.checksum b/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.checksum
new file mode 100644 (file)
index 0000000..5ee95d7
--- /dev/null
@@ -0,0 +1 @@
+052d366bf110e129372f42556d0d0a76
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.png b/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.png
new file mode 100644 (file)
index 0000000..ad1453c
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.txt b/LayoutTests/platform/gtk/editing/style/font-family-with-space-expected.txt
new file mode 100644 (file)
index 0000000..d751a09
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderInline {U} at (0,0) size 245x15
+        RenderText {#text} at (0,0) size 245x15
+          text run at (0,0) width 245: "This text should be Times New Roman bold."
+      RenderInline {U} at (0,0) size 245x15
+        RenderText {#text} at (245,0) size 245x15
+          text run at (245,0) width 245: "This text should be Times New Roman bold."
+      RenderText {#text} at (0,0) size 0x0
+caret: position 41 of child 0 {#text} of child 1 {U} of body
diff --git a/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.checksum b/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.checksum
new file mode 100644 (file)
index 0000000..5caa092
--- /dev/null
@@ -0,0 +1 @@
+255486c746f10636c32d46aef2702582
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.png b/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.png
new file mode 100644 (file)
index 0000000..7f419b7
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.txt b/LayoutTests/platform/gtk/editing/style/non-inheritable-styles-expected.txt
new file mode 100644 (file)
index 0000000..6b3aff3
--- /dev/null
@@ -0,0 +1,44 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of SPAN > BODY > HTML > #document to 3 of SPAN > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of SPAN > BODY > HTML > #document to 0 of SPAN > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > BODY > HTML > #document to 30 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of SPAN > BODY > HTML > #document to 3 of SPAN > BODY > HTML > #document
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of SPAN > BODY > HTML > #document to 0 of SPAN > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of SPAN > BODY > HTML > #document to 0 of SPAN > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of SPAN > BODY > HTML > #document to 0 of SPAN > BODY > HTML > #document toDOMRange:range from 29 of #text > SPAN > BODY > HTML > #document to 29 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {P} at (0,0) size 784x19
+        RenderText {#text} at (0,0) size 507x19
+          text run at (0,0) width 102: "This tests copy. "
+          text run at (102,0) width 405: "Non-inheritable styles should be brought down from stylesheets."
+      RenderBlock {SPAN} at (0,35) size 784x57
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 183x19
+            text run at (0,0) width 183: "This shouldn't have a border."
+        RenderBlock {DIV} at (0,19) size 784x19
+          RenderText {#text} at (0,0) size 289x19
+            text run at (0,0) width 289: "This should have blue border when its pasted."
+        RenderBlock (anonymous) at (0,38) size 784x19
+          RenderText {#text} at (0,0) size 183x19
+            text run at (0,0) width 183: "This shouldn't have a border."
+      RenderBlock {SPAN} at (0,92) size 784x59
+        RenderBlock (anonymous) at (0,0) size 784x19
+          RenderText {#text} at (0,0) size 183x19
+            text run at (0,0) width 183: "This shouldn't have a border."
+        RenderBlock {DIV} at (0,19) size 784x21 [border: (1px solid #0000FF)]
+          RenderText {#text} at (1,1) size 289x19
+            text run at (1,1) width 289: "This should have blue border when its pasted."
+        RenderBlock (anonymous) at (0,40) size 784x19
+          RenderText {#text} at (0,0) size 183x19
+            text run at (0,0) width 183: "This shouldn't have a border."
+caret: position 29 of child 2 {#text} of child 5 {SPAN} of body
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.checksum b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.checksum
new file mode 100644 (file)
index 0000000..50b0610
--- /dev/null
@@ -0,0 +1 @@
+ad10c9c02d99eed1b0d5bd83b5706e72
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.png b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.png
new file mode 100644 (file)
index 0000000..8240e02
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.txt b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-002-expected.txt
new file mode 100644 (file)
index 0000000..b28eba4
--- /dev/null
@@ -0,0 +1,53 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 754x56
+          text run at (14,14) width 748: "Size check should say: 30px. All text on the first line, and the first two words"
+          text run at (762,14) width 6: " "
+          text run at (14,42) width 433: "of the second line, should appear to be 30px."
+      RenderBlock {DIV} at (0,108) size 784x28
+        RenderText {#text} at (0,0) size 118x28
+          text run at (0,0) width 118: "Size check: "
+        RenderInline {SPAN} at (0,0) size 48x28
+          RenderText {#text} at (118,0) size 48x28
+            text run at (118,0) width 48: "30px"
+      RenderBlock {DIV} at (0,152) size 784x154
+        RenderBlock {DIV} at (0,0) size 784x154 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x35
+            RenderInline {SPAN} at (0,0) size 170x34
+              RenderText {#text} at (0,0) size 170x34
+                text run at (0,0) width 170: "There is a tide"
+          RenderBlock {DIV} at (14,49) size 756x63 [border: (2px solid #FF0000)]
+            RenderInline {SPAN} at (0,0) size 69x34
+              RenderText {#text} at (14,14) size 69x34
+                text run at (14,14) width 69: "In the"
+            RenderText {#text} at (83,19) size 142x28
+              text run at (83,19) width 142: " affairs of men"
+          RenderBlock (anonymous) at (14,112) size 756x28
+            RenderText {#text} at (0,0) size 241x28
+              text run at (0,0) width 241: "Which taken at the flood"
+selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 5 {DIV} of body
+selection end:   position 7 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 1 {DIV} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.checksum b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.checksum
new file mode 100644 (file)
index 0000000..a637d13
--- /dev/null
@@ -0,0 +1 @@
+ffa492f7973b36fe6497510ba9be8821
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.png b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.png
new file mode 100644 (file)
index 0000000..78f4c67
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.txt b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-003-expected.txt
new file mode 100644 (file)
index 0000000..18d1262
--- /dev/null
@@ -0,0 +1,72 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 744x84
+          text run at (14,14) width 723: "Size check should say: 24px. The first two words of the second line should"
+          text run at (737,14) width 6: " "
+          text run at (14,42) width 332: "appear to be 24px. The rest of the "
+          text run at (346,42) width 406: "words on the second line should appear to"
+          text run at (752,42) width 6: " "
+          text run at (14,70) width 83: "be 30px."
+      RenderBlock {DIV} at (0,136) size 784x28
+        RenderText {#text} at (0,0) size 118x28
+          text run at (0,0) width 118: "Size check: "
+        RenderInline {SPAN} at (0,0) size 48x28
+          RenderText {#text} at (118,0) size 48x28
+            text run at (118,0) width 48: "24px"
+      RenderBlock {DIV} at (0,180) size 784x147
+        RenderBlock {DIV} at (0,0) size 784x147 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 139x28
+              text run at (0,0) width 139: "There is a tide"
+          RenderBlock {DIV} at (14,42) size 756x63 [border: (2px solid #FF0000)]
+            RenderInline {SPAN} at (0,0) size 56x28
+              RenderText {#text} at (14,19) size 56x28
+                text run at (14,19) width 56: "In the"
+            RenderText {#text} at (70,14) size 176x34
+              text run at (70,14) width 176: " affairs of men"
+          RenderBlock (anonymous) at (14,105) size 756x28
+            RenderText {#text} at (0,0) size 241x28
+              text run at (0,0) width 241: "Which taken at the flood"
+selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 1 {DIV} of child 5 {DIV} of body
+selection end:   position 6 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 1 {DIV} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.checksum b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.checksum
new file mode 100644 (file)
index 0000000..fc156c3
--- /dev/null
@@ -0,0 +1 @@
+a8fa432c78d9cc024ffe4eea77b9ec7c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.png b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.png
new file mode 100644 (file)
index 0000000..740bd27
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.txt b/LayoutTests/platform/gtk/editing/style/relative-font-size-change-004-expected.txt
new file mode 100644 (file)
index 0000000..ecbb1fc
--- /dev/null
@@ -0,0 +1,64 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x112 [border: (2px solid #0000FF)]
+        RenderText {#text} at (14,14) size 721x84
+          text run at (14,14) width 715: "Size check should say: 30px. All text in the red boxes should appear to be"
+          text run at (729,14) width 6: " "
+          text run at (14,42) width 688: "24px. This test checks removing font size tags when they are no longer"
+          text run at (702,42) width 6: " "
+          text run at (14,70) width 100: "necessary."
+      RenderBlock {DIV} at (0,136) size 784x28
+        RenderText {#text} at (0,0) size 118x28
+          text run at (0,0) width 118: "Size check: "
+        RenderInline {SPAN} at (0,0) size 48x28
+          RenderText {#text} at (118,0) size 48x28
+            text run at (118,0) width 48: "30px"
+      RenderBlock {DIV} at (0,180) size 784x140
+        RenderBlock {DIV} at (0,0) size 784x140 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (14,14) size 756x28
+            RenderText {#text} at (0,0) size 139x28
+              text run at (0,0) width 139: "There is a tide"
+          RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
+            RenderText {#text} at (14,14) size 198x28
+              text run at (14,14) width 198: "In the affairs of men"
+          RenderBlock (anonymous) at (14,98) size 756x28
+            RenderText {#text} at (0,0) size 241x28
+              text run at (0,0) width 241: "Which taken at the flood"
+selection start: position 0 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 5 {DIV} of body
+selection end:   position 21 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.checksum b/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.checksum
new file mode 100644 (file)
index 0000000..93c271f
--- /dev/null
@@ -0,0 +1 @@
+8f344f0acae0126954af2a621b2546f2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.png b/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.png
new file mode 100644 (file)
index 0000000..4d739bd
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.txt b/LayoutTests/platform/gtk/editing/style/smoosh-styles-001-expected.txt
new file mode 100644 (file)
index 0000000..73d4222
--- /dev/null
@@ -0,0 +1,63 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 4 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 2 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x184 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x84
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 727x56
+            text run at (0,28) width 727: "Pasting black (document default color) text into a block of text with a non-"
+            text run at (0,56) width 130: "default color."
+        RenderBlock {DIV} at (14,114) size 756x56
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 442x28
+            text run at (0,28) width 442: "Should see this content in the red box below: "
+          RenderInline {SPAN} at (0,0) size 77x28 [color=#FF0000]
+            RenderText {#text} at (442,28) size 23x28
+              text run at (442,28) width 23: "ab"
+            RenderInline {SPAN} at (0,0) size 34x28 [color=#000000]
+              RenderText {#text} at (465,28) size 34x28
+                text run at (465,28) width 34: "cde"
+            RenderText {#text} at (499,28) size 20x28
+              text run at (499,28) width 20: "fg"
+          RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,208) size 784x32
+        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
+          RenderInline {SPAN} at (0,0) size 23x28 [color=#FF0000]
+            RenderText {#text} at (2,2) size 23x28
+              text run at (2,2) width 23: "ab"
+          RenderText {#text} at (25,2) size 34x28
+            text run at (25,2) width 34: "cde"
+          RenderInline {SPAN} at (0,0) size 20x28 [color=#FF0000]
+            RenderText {#text} at (59,2) size 20x28
+              text run at (59,2) width 20: "fg"
+        RenderBlock (anonymous) at (0,32) size 784x0
+caret: position 3 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.checksum b/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.checksum
new file mode 100644 (file)
index 0000000..7fb8ec0
--- /dev/null
@@ -0,0 +1 @@
+f662bf04bccd5eb37dd40b0877ef3b3b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.png b/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.png
new file mode 100644 (file)
index 0000000..c903c46
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.txt b/LayoutTests/platform/gtk/editing/style/smoosh-styles-003-expected.txt
new file mode 100644 (file)
index 0000000..2b74224
--- /dev/null
@@ -0,0 +1,54 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x268 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x112
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 750x56
+            text run at (0,28) width 750: "Pasting styles we should not remove during the \"smoosh styles\" process. This"
+            text run at (0,56) width 152: "tests the fix for "
+          RenderInline {A} at (0,0) size 260x28 [color=#0000EE]
+            RenderText {#text} at (152,56) size 260x28
+              text run at (152,56) width 260: "<rdar://problem/3972665>"
+          RenderText {#text} at (412,56) size 740x56
+            text run at (412,56) width 328: " 8A360: HTML message partially"
+            text run at (0,84) width 560: "truncated on left hand side, text-indent from Script Editor"
+        RenderBlock {DIV} at (14,142) size 756x112
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 730x56
+            text run at (0,28) width 730: "Should see this content in the red box below: foo. Note that there should be"
+            text run at (0,56) width 174: "no visible indent. "
+          RenderBR {BR} at (174,78) size 0x0
+          RenderText {#text} at (0,84) size 183x28
+            text run at (0,84) width 183: "This demonstrates "
+          RenderInline {A} at (0,0) size 53x28 [color=#0000EE]
+            RenderText {#text} at (183,84) size 53x28
+              text run at (183,84) width 53: "a bug"
+          RenderText {#text} at (236,84) size 254x28
+            text run at (236,84) width 254: ", the caret is one pixel off."
+      RenderBlock {DIV} at (0,292) size 784x32
+        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (42,2) size 740x28
+            RenderText {#text} at (-40,0) size 32x28
+              text run at (-40,0) width 32: "foo"
+caret: position 3 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.checksum
new file mode 100644 (file)
index 0000000..00666fd
--- /dev/null
@@ -0,0 +1 @@
+94e162ee178bf31605869f8b43eb6219
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.png b/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.png
new file mode 100644 (file)
index 0000000..90b9408
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.txt b/LayoutTests/platform/gtk/editing/style/style-3998892-fix-expected.txt
new file mode 100644 (file)
index 0000000..8bf7f5c
--- /dev/null
@@ -0,0 +1,47 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 4 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > B > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x184 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x84
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 113x28
+            text run at (0,28) width 113: "Bug fix for "
+          RenderInline {A} at (0,0) size 260x28 [color=#0000EE]
+            RenderText {#text} at (113,28) size 260x28
+              text run at (113,28) width 260: "<rdar://problem/3998892>"
+          RenderText {#text} at (373,28) size 698x56
+            text run at (373,28) width 325: " REGRESSION (Mail): bolding a"
+            text run at (0,56) width 93: "selection "
+            text run at (93,56) width 551: "from end of line changes unselected text on starting line."
+        RenderBlock {DIV} at (14,114) size 756x56
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 604x28
+            text run at (0,28) width 604: "Should see first line (\"foo\") not bold; second line (\"bar\") bold."
+      RenderBlock {DIV} at (0,208) size 784x60
+        RenderBlock {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (2,2) size 780x28
+            RenderText {#text} at (0,0) size 32x28
+              text run at (0,0) width 32: "foo"
+          RenderBlock {DIV} at (2,30) size 780x28
+            RenderInline {B} at (0,0) size 36x28
+              RenderText {#text} at (0,0) size 36x28
+                text run at (0,0) width 36: "bar"
+selection start: position 3 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 3 of child 0 {#text} of child 0 {B} of child 3 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.checksum
new file mode 100644 (file)
index 0000000..74332f5
--- /dev/null
@@ -0,0 +1 @@
+5462ca9d91fbc3368eae190ebf2b1c88
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.png b/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.png
new file mode 100644 (file)
index 0000000..05cef65
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.txt b/LayoutTests/platform/gtk/editing/style/style-boundary-001-expected.txt
new file mode 100644 (file)
index 0000000..6ca9063
--- /dev/null
@@ -0,0 +1,40 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of #text > B > DIV > DIV > BODY > HTML > #document to 1 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x156 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x56
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 600x28
+            text run at (0,28) width 600: "Style checks performed on boundaries between style changes."
+        RenderBlock {DIV} at (14,86) size 756x56
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 442x28
+            text run at (0,28) width 442: "Should see this content in the red box below: "
+          RenderInline {B} at (0,0) size 25x28
+            RenderText {#text} at (442,28) size 25x28
+              text run at (442,28) width 25: "ab"
+          RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,180) size 784x32
+        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
+          RenderInline {B} at (0,0) size 25x28
+            RenderText {#text} at (2,2) size 12x28
+              text run at (2,2) width 12: "a"
+            RenderText {#text} at (14,2) size 13x28
+              text run at (14,2) width 13: "b"
+selection start: position 0 of child 1 {#text} of child 0 {B} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 1 of child 1 {#text} of child 0 {B} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.checksum
new file mode 100644 (file)
index 0000000..e6f2154
--- /dev/null
@@ -0,0 +1 @@
+a49bbc6c2da279d389ab67324b4e9d88
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.png b/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.png
new file mode 100644 (file)
index 0000000..7d940e5
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.txt b/LayoutTests/platform/gtk/editing/style/style-boundary-002-expected.txt
new file mode 100644 (file)
index 0000000..c056355
--- /dev/null
@@ -0,0 +1,38 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 2 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > B > DIV > DIV > BODY > HTML > #document to 2 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x156 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x56
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 600x28
+            text run at (0,28) width 600: "Style checks performed on boundaries between style changes."
+        RenderBlock {DIV} at (14,86) size 756x56
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 442x28
+            text run at (0,28) width 442: "Should see this content in the red box below: "
+          RenderInline {B} at (0,0) size 25x28
+            RenderText {#text} at (442,28) size 25x28
+              text run at (442,28) width 25: "ab"
+          RenderText {#text} at (467,28) size 11x28
+            text run at (467,28) width 11: "c"
+      RenderBlock {DIV} at (0,180) size 784x32
+        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
+          RenderInline {B} at (0,0) size 25x28
+            RenderText {#text} at (2,2) size 25x28
+              text run at (2,2) width 25: "ab"
+          RenderText {#text} at (27,2) size 11x28
+            text run at (27,2) width 11: "c"
+caret: position 2 of child 0 {#text} of child 0 {B} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.checksum
new file mode 100644 (file)
index 0000000..bf069e6
--- /dev/null
@@ -0,0 +1 @@
+39502b14fe407bc2f4c83e678e598598
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.png b/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.png
new file mode 100644 (file)
index 0000000..e3ec332
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.txt b/LayoutTests/platform/gtk/editing/style/style-boundary-003-expected.txt
new file mode 100644 (file)
index 0000000..8c7f6c2
--- /dev/null
@@ -0,0 +1,41 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x156 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x56
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 600x28
+            text run at (0,28) width 600: "Style checks performed on boundaries between style changes."
+        RenderBlock {DIV} at (14,86) size 756x56
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 442x28
+            text run at (0,28) width 442: "Should see this content in the red box below: "
+          RenderInline {B} at (0,0) size 12x28
+            RenderText {#text} at (442,28) size 12x28
+              text run at (442,28) width 12: "a"
+          RenderText {#text} at (454,28) size 23x28
+            text run at (454,28) width 23: "bc"
+      RenderBlock {DIV} at (0,180) size 784x32
+        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
+          RenderInline {B} at (0,0) size 12x28
+            RenderText {#text} at (2,2) size 12x28
+              text run at (2,2) width 12: "a"
+          RenderText {#text} at (14,2) size 12x28
+            text run at (14,2) width 12: "b"
+          RenderText {#text} at (26,2) size 11x28
+            text run at (26,2) width 11: "c"
+caret: position 1 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.checksum
new file mode 100644 (file)
index 0000000..a2852db
--- /dev/null
@@ -0,0 +1 @@
+13d00c435944e3e1aeef0b8038f15a20
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.png b/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.png
new file mode 100644 (file)
index 0000000..fd4508d
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.txt b/LayoutTests/platform/gtk/editing/style/style-boundary-004-expected.txt
new file mode 100644 (file)
index 0000000..059f4fc
--- /dev/null
@@ -0,0 +1,52 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > B > DIV > DIV > DIV > BODY > HTML > #document to 1 of #text > B > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x56
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 600x28
+            text run at (0,28) width 600: "Style checks performed on boundaries between style changes."
+        RenderBlock {DIV} at (14,86) size 756x112
+          RenderBlock (anonymous) at (0,0) size 756x56
+            RenderText {#text} at (0,0) size 189x28
+              text run at (0,0) width 189: "Expected Results: "
+            RenderBR {BR} at (189,22) size 0x0
+            RenderText {#text} at (0,28) size 436x28
+              text run at (0,28) width 436: "Should see this content in the red box below:"
+            RenderInline {B} at (0,0) size 0x0
+          RenderBlock (anonymous) at (0,56) size 756x56
+            RenderBlock {DIV} at (0,0) size 756x28
+              RenderText {#text} at (0,0) size 12x28
+                text run at (0,0) width 12: "a"
+            RenderBlock {DIV} at (0,28) size 756x28
+              RenderText {#text} at (0,0) size 13x28
+                text run at (0,0) width 13: "b"
+          RenderBlock (anonymous) at (0,112) size 756x0
+            RenderInline {B} at (0,0) size 0x0
+            RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,236) size 784x60
+        RenderBlock {DIV} at (0,0) size 784x60 [border: (2px solid #FF0000)]
+          RenderBlock {DIV} at (2,2) size 780x28
+            RenderInline {B} at (0,0) size 12x28
+              RenderText {#text} at (0,0) size 12x28
+                text run at (0,0) width 12: "a"
+          RenderBlock {DIV} at (2,30) size 780x28
+            RenderInline {B} at (0,0) size 13x28
+              RenderText {#text} at (0,0) size 13x28
+                text run at (0,0) width 13: "b"
+selection start: position 1 of child 0 {#text} of child 0 {B} of child 0 {DIV} of child 1 {DIV} of child 3 {DIV} of body
+selection end:   position 1 of child 0 {#text} of child 0 {B} of child 1 {DIV} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.checksum b/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.checksum
new file mode 100644 (file)
index 0000000..def448d
--- /dev/null
@@ -0,0 +1 @@
+a189ebedbd9977b461aa0fdcd3c92f23
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.png b/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.png
new file mode 100644 (file)
index 0000000..179e7c0
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.txt b/LayoutTests/platform/gtk/editing/style/style-boundary-005-expected.txt
new file mode 100644 (file)
index 0000000..391692b
--- /dev/null
@@ -0,0 +1,69 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 1 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 2 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > B > DIV > DIV > BODY > HTML > #document to 2 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > B > DIV > DIV > BODY > HTML > #document to 3 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > B > DIV > DIV > BODY > HTML > #document to 3 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > B > DIV > DIV > BODY > HTML > #document to 4 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > B > DIV > DIV > BODY > HTML > #document to 4 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > B > DIV > DIV > BODY > HTML > #document to 5 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > B > DIV > DIV > BODY > HTML > #document to 5 of #text > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > B > DIV > DIV > BODY > HTML > #document to 5 of #text > B > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > B > DIV > DIV > BODY > HTML > #document to 5 of #text > B > DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x184 [border: (2px solid #0000FF)]
+        RenderBlock {DIV} at (14,14) size 756x56
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 698x28
+            text run at (0,28) width 698: "Pasting at style boundary does not crash or produce empty style span(s)."
+        RenderBlock {DIV} at (14,86) size 756x84
+          RenderBlock (anonymous) at (0,0) size 756x56
+            RenderText {#text} at (0,0) size 189x28
+              text run at (0,0) width 189: "Expected Results: "
+            RenderBR {BR} at (189,22) size 0x0
+            RenderText {#text} at (0,28) size 442x28
+              text run at (0,28) width 442: "Should see this content in the red box below: "
+            RenderBR {BR} at (442,50) size 0x0
+          RenderBlock {DIV} at (0,56) size 756x28
+            RenderText {#text} at (0,0) size 138x28
+              text run at (0,0) width 138: "one two three "
+            RenderInline {B} at (0,0) size 44x28
+              RenderText {#text} at (138,0) size 44x28
+                text run at (138,0) width 44: "four"
+            RenderText {#text} at (182,0) size 35x28
+              text run at (182,0) width 35: "one"
+      RenderBlock {DIV} at (0,208) size 784x23
+        RenderBlock {DIV} at (0,0) size 784x23 [border: (2px solid #FF0000)]
+          RenderText {#text} at (2,2) size 86x19
+            text run at (2,2) width 86: "one two three"
+          RenderInline {B} at (0,0) size 33x19
+            RenderText {#text} at (88,2) size 33x19
+              text run at (88,2) width 33: " four"
+          RenderText {#text} at (121,2) size 23x19
+            text run at (121,2) width 23: "one"
+        RenderBlock (anonymous) at (0,23) size 784x0
+          RenderText {#text} at (0,0) size 0x0
+caret: position 3 of child 2 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/style/table-selection-expected.checksum b/LayoutTests/platform/gtk/editing/style/table-selection-expected.checksum
new file mode 100644 (file)
index 0000000..d3448d9
--- /dev/null
@@ -0,0 +1 @@
+314b8a9e057b2a31bd482ffc0a544d5c
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/style/table-selection-expected.png b/LayoutTests/platform/gtk/editing/style/table-selection-expected.png
new file mode 100644 (file)
index 0000000..ffce082
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/style/table-selection-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/style/table-selection-expected.txt b/LayoutTests/platform/gtk/editing/style/table-selection-expected.txt
new file mode 100644 (file)
index 0000000..a85e36d
--- /dev/null
@@ -0,0 +1,28 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 4 of BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x78 [border: (2px solid #FF0000)]
+        RenderTable {TABLE} at (14,14) size 30x50
+          RenderTableSection {TBODY} at (0,0) size 30x50
+            RenderTableRow {TR} at (0,2) size 30x22
+              RenderTableCell {TD} at (2,2) size 26x22 [r=0 c=0 rs=1 cs=1]
+                RenderText {#text} at (1,1) size 24x20
+                  text run at (1,1) width 24: "foo"
+            RenderTableRow {TR} at (0,26) size 30x22
+              RenderTableCell {TD} at (2,26) size 26x22 [r=1 c=0 rs=1 cs=1]
+                RenderText {#text} at (1,1) size 23x20
+                  text run at (1,1) width 23: "bar"
+selection start: position 1 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 1 {DIV} of body
+selection end:   position 2 of child 1 {TABLE} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.checksum b/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.checksum
new file mode 100644 (file)
index 0000000..0e7e808
--- /dev/null
@@ -0,0 +1 @@
+8170b2262417beb12023b44e5fd1c9e2
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.png b/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.png
new file mode 100644 (file)
index 0000000..fe548d4
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.txt b/LayoutTests/platform/gtk/editing/undo/undo-typing-001-expected.txt
new file mode 100644 (file)
index 0000000..3095ef3
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
+        RenderInline {SPAN} at (0,0) size 34x28
+          RenderText {#text} at (14,14) size 34x28
+            text run at (14,14) width 34: "XX"
+        RenderText {#text} at (0,0) size 0x0
+caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.checksum b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.checksum
new file mode 100644 (file)
index 0000000..657cd6c
--- /dev/null
@@ -0,0 +1 @@
+570df1fe9231e6e2833dfd55c52eb44e
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.png b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.png
new file mode 100644 (file)
index 0000000..cbb6b8f
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.txt b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-001-expected.txt
new file mode 100644 (file)
index 0000000..617f30d
--- /dev/null
@@ -0,0 +1,67 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > LI > UL > DIV > DIV > BODY > HTML > #document to 0 of #text > DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of LI > UL > DIV > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x243 [border: (4px solid #0000FF)]
+        RenderBlock {DIV} at (20,20) size 744x70
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 663x21
+            text run at (0,28) width 663: "Our ability to \"edit around\" content the HTML editing code does not yet handle very well. "
+          RenderBR {BR} at (663,45) size 0x0
+          RenderInline {I} at (0,0) size 99x21
+            RenderText {#text} at (0,49) size 99x21
+              text run at (0,49) width 99: "For this test: "
+          RenderText {#text} at (99,49) size 168x21
+            text run at (99,49) width 168: "Select and delete a list."
+        RenderBlock (anonymous) at (20,90) size 744x21
+          RenderBR {BR} at (0,0) size 0x21
+        RenderBlock {DIV} at (20,111) size 744x112
+          RenderText {#text} at (0,0) size 189x28
+            text run at (0,0) width 189: "Expected Results: "
+          RenderBR {BR} at (189,22) size 0x0
+          RenderText {#text} at (0,28) size 709x42
+            text run at (0,28) width 709: "The content in the red box must exactly match the content in the green box (except for the border"
+            text run at (0,49) width 53: "color). "
+          RenderBR {BR} at (53,66) size 0x0
+          RenderInline {I} at (0,0) size 99x21
+            RenderText {#text} at (0,70) size 99x21
+              text run at (0,70) width 99: "For this test: "
+          RenderText {#text} at (99,70) size 708x42
+            text run at (99,70) width 609: "Only list content should get deleted. Surrounding content that is not selected should"
+            text run at (0,91) width 201: "(obviously) not be affected."
+      RenderBlock {DIV} at (0,253) size 784x32 [border: (2px solid #008000)]
+        RenderText {#text} at (2,2) size 107x28
+          text run at (2,2) width 107: "beforeafter"
+      RenderBlock {DIV} at (0,295) size 784x108
+        RenderBlock {DIV} at (0,0) size 784x108 [border: (2px solid #FF0000)]
+          RenderBlock (anonymous) at (2,2) size 780x28
+            RenderText {#text} at (0,0) size 62x28
+              text run at (0,0) width 62: "before"
+          RenderBlock {UL} at (2,54) size 780x28
+            RenderListItem {LI} at (40,0) size 740x28
+              RenderListMarker at (-22,0) size 9x28: bullet
+              RenderText {#text} at (0,0) size 45x28
+                text run at (0,0) width 45: "after"
+          RenderBlock (anonymous) at (2,106) size 780x0
+caret: position 0 of child 0 {#text} of child 1 {LI} of child 1 {UL} of child 1 {DIV} of child 5 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.checksum b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.checksum
new file mode 100644 (file)
index 0000000..dad20e0
--- /dev/null
@@ -0,0 +1 @@
+397124a5def4e890392f050e11a2169b
\ No newline at end of file
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.png b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.png
new file mode 100644 (file)
index 0000000..897cd5f
Binary files /dev/null and b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.png differ
diff --git a/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.txt b/LayoutTests/platform/gtk/editing/unsupported-content/list-delete-003-expected.txt
new file mode 100644 (file)
index 0000000..3d2dbd6
--- /dev/null
@@ -0,0 +1,61 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 0 of #text > DIV > DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x243 [border: (4px solid #0000FF)]
+        RenderBlock {DIV} at (20,20) size 744x70
+          RenderText {#text} at (0,0) size 67x28
+            text run at (0,0) width 67: "Tests: "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {#text} at (0,28) size 663x21
+            text run at (0,28) width 663: "Our ability to \"edit around\" content the HTML editing code does not yet handle very well. "
+          RenderBR {BR} at (663,45) size 0x0
+          RenderInline {I} at (0,0) size 99x21
+            RenderText {#text} at (0,49) size 99x21
+              text run at (0,49) width 99: "For this test: "
+          RenderText {#text} at (99,49) size 392x21
+            text run at (99,49) width 392: "Select and delete a list and some surrounding content."
+        RenderBlock (anonymous) at (20,90) size 744x21
+          RenderBR {BR} at (0,0) size 0x21