Changeset 17981 in webkit
- Timestamp:
- Dec 1, 2006 3:40:35 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 58 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r17955 r17981 1 2006-12-01 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by john 4 5 <rdar://problem/4826940> 6 Selection change performed even when delete delegate replies NO (11415) 7 8 Removed unnecessary shouldChangeSelection calls; 9 * editing/deleting/delete-at-start-or-end-expected.txt: 10 * editing/deleting/delete-br-002-expected.txt: 11 * editing/deleting/delete-br-004-expected.txt: 12 * editing/deleting/delete-br-005-expected.txt: 13 * editing/deleting/delete-br-006-expected.txt: 14 * editing/deleting/delete-br-009-expected.txt: 15 * editing/deleting/delete-br-010-expected.txt: 16 * editing/deleting/delete-br-012-expected.txt: 17 * editing/deleting/delete-hr-expected.txt: 18 * editing/deleting/delete-tab-004-expected.txt: 19 * editing/deleting/forward-delete-expected.txt: 20 * editing/deleting/merge-into-empty-block-1-expected.txt: 21 * editing/deleting/merge-into-empty-block-2-expected.txt: 22 * editing/execCommand/format-block-expected.txt: 23 * editing/execCommand/outdent-selection-expected.txt: 24 * editing/inserting/editing-empty-divs-expected.txt: 25 * editing/inserting/insert-3800346-fix-expected.txt: 26 * editing/inserting/insert-br-004-expected.txt: 27 * editing/inserting/insert-br-005-expected.txt: 28 * editing/inserting/insert-br-006-expected.txt: 29 * editing/inserting/insert-br-008-expected.txt: 30 * editing/inserting/insert-div-006-expected.txt: 31 * editing/inserting/insert-div-008-expected.txt: 32 * editing/inserting/insert-div-010-expected.txt: 33 * editing/inserting/insert-div-011-expected.txt: 34 * editing/inserting/insert-div-013-expected.txt: 35 * editing/inserting/insert-div-015-expected.txt: 36 * editing/inserting/insert-div-019-expected.txt: 37 * editing/inserting/insert-div-021-expected.txt: 38 * editing/inserting/insert-paragraph-01-expected.txt: 39 * editing/inserting/insert-paragraph-03-expected.txt: 40 * editing/inserting/insert-tab-004-expected.txt: 41 * editing/inserting/insert-text-with-newlines-expected.txt: 42 * editing/inserting/line-break-expected.txt: 43 * editing/pasteboard/3976872-expected.txt: 44 * editing/pasteboard/paste-text-005-expected.txt: 45 * editing/pasteboard/paste-text-006-expected.txt: 46 * editing/pasteboard/paste-text-007-expected.txt: 47 * editing/pasteboard/paste-text-010-expected.txt: 48 * editing/pasteboard/paste-text-014-expected.txt: 49 * editing/pasteboard/paste-text-016-expected.txt: 50 * editing/pasteboard/quirks-mode-br-2-expected.txt: 51 * editing/style/apple-style-editable-mix-expected.txt: 52 * editing/style/block-style-001-expected.txt: 53 * editing/style/block-style-002-expected.txt: 54 * editing/style/block-style-003-expected.txt: 55 * editing/style/block-style-006-expected.txt: 56 * editing/style/create-block-for-style-005-expected.txt: 57 * editing/style/create-block-for-style-006-expected.txt: 58 * editing/style/create-block-for-style-008-expected.txt: 59 * editing/style/relative-font-size-change-002-expected.txt: 60 * editing/style/relative-font-size-change-003-expected.txt: 61 * editing/style/relative-font-size-change-004-expected.txt: 62 * editing/style/table-selection-expected.txt: 63 1 64 2006-11-30 John Sullivan <sullivan@apple.com> 2 65 -
trunk/LayoutTests/editing/deleting/delete-at-start-or-end-expected.txt
r15426 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document 8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE9 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 8 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-br-002-expected.txt
r15222 r17981 25 25 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 26 26 EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document 27 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE28 27 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 29 28 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-br-004-expected.txt
r15222 r17981 26 26 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 27 27 EDITING DELEGATE: shouldDeleteDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 4 of SPAN > DIV > BODY > HTML > #document 28 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE29 28 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 30 29 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-br-005-expected.txt
r15222 r17981 26 26 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 27 27 EDITING DELEGATE: shouldDeleteDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 4 of SPAN > DIV > BODY > HTML > #document 28 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE29 28 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 30 29 EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document 31 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE32 30 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 33 31 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-br-006-expected.txt
r15222 r17981 26 26 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 27 27 EDITING DELEGATE: shouldDeleteDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 4 of SPAN > DIV > BODY > HTML > #document 28 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE29 28 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 30 29 EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document 31 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE32 30 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 33 31 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document -
trunk/LayoutTests/editing/deleting/delete-br-009-expected.txt
r15222 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of BODY > HTML > #document to 0 of DIV > BODY > HTML > #document 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 11 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-br-010-expected.txt
r16237 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: shouldDeleteDOMRange:range from 2 of BODY > HTML > #document to 0 of DIV > BODY > HTML > #document 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 11 EDITING DELEGATE: shouldDeleteDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document -
trunk/LayoutTests/editing/deleting/delete-br-012-expected.txt
r17621 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: shouldDeleteDOMRange:range from 3 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-hr-expected.txt
r15408 r17981 9 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 10 EDITING DELEGATE: shouldDeleteDOMRange:range from 4 of DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of SPAN > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 0 of SPAN > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE12 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 13 12 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/delete-tab-004-expected.txt
r15222 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -
trunk/LayoutTests/editing/deleting/forward-delete-expected.txt
r15222 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document 8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE9 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 8 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE12 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 13 10 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 12 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/merge-into-empty-block-1-expected.txt
r17562 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of BLOCKQUOTE > DIV > BODY > HTML > #document 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of BLOCKQUOTE > DIV > BODY > HTML > #document to 0 of BLOCKQUOTE > DIV > BODY > HTML > #document toDOMRange:range from 0 of BLOCKQUOTE > DIV > BODY > HTML > #document to 0 of BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/deleting/merge-into-empty-block-2-expected.txt
r17562 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > BODY > HTML > #document 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of LI > UL > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > BODY > HTML > #document toDOMRange:range from 0 of LI > UL > DIV > BODY > HTML > #document to 0 of LI > UL > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/execCommand/format-block-expected.txt
r17562 r17981 12 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 13 13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of ADDRESS > DIV > BODY > HTML > #document to 0 of ADDRESS > DIV > BODY > HTML > #document toDOMRange:range from 0 of ADDRESS > DIV > BODY > HTML > #document to 0 of ADDRESS > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 15 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/execCommand/outdent-selection-expected.txt
r17562 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/editing-empty-divs-expected.txt
r14952 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document -
trunk/LayoutTests/editing/inserting/insert-3800346-fix-expected.txt
r14684 r17981 12 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 13 13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of DIV > DIV > BODY > HTML > #document to 3 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of DIV > DIV > BODY > HTML > #document to 3 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of DIV > DIV > BODY > HTML > #document to 4 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of DIV > DIV > BODY > HTML > #document to 4 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE17 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 18 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of DIV > DIV > BODY > HTML > #document to 5 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of DIV > DIV > BODY > HTML > #document to 5 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE19 16 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 20 17 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-br-004-expected.txt
r14684 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 11 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-br-005-expected.txt
r17386 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of SPAN > DIV > BODY > HTML > #document to 3 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -
trunk/LayoutTests/editing/inserting/insert-br-006-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of 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 -
trunk/LayoutTests/editing/inserting/insert-br-008-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document toDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -
trunk/LayoutTests/editing/inserting/insert-div-006-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 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 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -
trunk/LayoutTests/editing/inserting/insert-div-008-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 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 1 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -
trunk/LayoutTests/editing/inserting/insert-div-010-expected.txt
r16237 r17981 7 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE10 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 11 10 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-div-011-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-div-013-expected.txt
r14684 r17981 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document toDOMRange:range from 0 of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE9 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 9 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-div-015-expected.txt
r14684 r17981 10 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 11 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE13 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 14 13 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-div-019-expected.txt
r14684 r17981 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of BODY > HTML > #document to 5 of BODY > HTML > #document toDOMRange:range from 5 of BODY > HTML > #document to 5 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE9 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 10 9 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-div-021-expected.txt
r15222 r17981 13 13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 14 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE16 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 17 16 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-paragraph-01-expected.txt
r17562 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of TABLE > DIV > BODY > HTML > #document to 0 of TABLE > DIV > BODY > HTML > #document toDOMRange:range from 0 of TABLE > DIV > BODY > HTML > #document to 0 of TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-paragraph-03-expected.txt
r17562 r17981 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document toDOMRange:range from 3 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE7 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 8 7 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/inserting/insert-tab-004-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of SPAN > DIV > BODY > HTML > #document to 1 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -
trunk/LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt
r14952 r17981 34 34 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 35 35 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 36 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of SPAN > DIV > BODY > HTML > #document to 6 of SPAN > DIV > BODY > HTML > #document toDOMRange:range from 6 of SPAN > DIV > BODY > HTML > #document to 6 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE37 36 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 38 37 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -
trunk/LayoutTests/editing/inserting/line-break-expected.txt
r17562 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 1 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 1 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/3976872-expected.txt
r17643 r17981 8 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -
trunk/LayoutTests/editing/pasteboard/paste-text-005-expected.txt
r15975 r17981 46 46 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 47 47 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted 48 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE49 48 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 50 49 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/paste-text-006-expected.txt
r16237 r17981 47 47 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 48 48 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted 49 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE50 49 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 51 50 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/paste-text-007-expected.txt
r16237 r17981 47 47 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 48 48 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted 49 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE50 49 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 51 50 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/paste-text-010-expected.txt
r16237 r17981 44 44 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 45 45 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 46 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document toDOMRange:range from 3 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE47 46 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 48 47 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 3 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted -
trunk/LayoutTests/editing/pasteboard/paste-text-014-expected.txt
r15975 r17981 12 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 13 13 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 15 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/paste-text-016-expected.txt
r16237 r17981 20 20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 21 21 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 2 of P > DIV > DIV > BODY > HTML > #document to 2 of P > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted 22 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of P > DIV > DIV > BODY > HTML > #document to 3 of P > DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of P > DIV > DIV > BODY > HTML > #document to 3 of P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE23 22 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 24 23 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/pasteboard/quirks-mode-br-2-expected.txt
r17562 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document toDOMRange:range from 1 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/apple-style-editable-mix-expected.txt
r16237 r17981 3 3 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of TABLE > BODY > HTML > #document to 2 of TABLE > BODY > HTML > #document toDOMRange:range from 0 of TABLE > BODY > HTML > #document to 2 of TABLE > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/block-style-001-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/block-style-002-expected.txt
r14684 r17981 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE5 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 5 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/block-style-003-expected.txt
r14684 r17981 53 53 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 54 54 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 55 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 13 of #text > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > BODY > HTML > #document to 13 of #text > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE56 55 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 57 56 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/block-style-006-expected.txt
r16237 r17981 21 21 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 22 22 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 23 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE24 23 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 25 24 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/create-block-for-style-005-expected.txt
r14684 r17981 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 2 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 2 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE7 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 8 7 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/create-block-for-style-006-expected.txt
r14684 r17981 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 2 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 2 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE8 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 9 8 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/create-block-for-style-008-expected.txt
r14684 r17981 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of 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:FALSE6 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 7 6 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/relative-font-size-change-002-expected.txt
r16237 r17981 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 10 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document 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:FALSE12 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 13 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document 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:FALSE14 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document 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:FALSE16 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 17 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document 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:FALSE18 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 19 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document 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:FALSE20 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 21 16 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/relative-font-size-change-003-expected.txt
r14684 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE13 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE17 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 18 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE19 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 20 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE21 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 22 16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification … … 26 20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 27 21 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 28 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > 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:FALSE29 22 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 30 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > 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:FALSE31 23 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 32 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > 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:FALSE33 24 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 34 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > 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:FALSE35 25 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 36 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > SPAN > 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:FALSE37 26 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 38 27 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/relative-font-size-change-004-expected.txt
r14684 r17981 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE11 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE13 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 14 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE15 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 16 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE17 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 18 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE19 14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 20 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE21 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 22 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE23 16 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 24 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE25 17 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 26 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE27 18 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 28 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE29 19 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 30 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE31 20 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 32 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 21 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE33 21 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 34 22 layer at (0,0) size 800x600 -
trunk/LayoutTests/editing/style/table-selection-expected.txt
r16362 r17981 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of TABLE > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE8 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of TABLE > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE10 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 11 9 layer at (0,0) size 800x600 -
trunk/WebCore/ChangeLog
r17980 r17981 1 2006-12-01 Justin Garcia <justin.garcia@apple.com> 2 3 Reviewed by john 4 5 <rdar://problem/4826940> 6 Selection change performed even when delete delegate replies NO (11415) 7 8 No layout test for the bug fix, because there's no way to register a custom 9 editing delegate from a layout test. Layout tests are effected by the change 10 to avoid sending unnecessary shouldChangeSelections, however. 11 12 * editing/Editor.cpp: 13 (WebCore::Editor::appliedEditing): Don't bother sending shouldChangeSelection 14 if the editing operation didn't change the selection. Still call 15 setSelection though, because it does work in this case that's necessary, 16 like clearing the typing style. 17 (WebCore::Editor::unappliedEditing): Ditto. 18 (WebCore::Editor::reappliedEditing): Ditto. 19 * editing/TypingCommand.cpp: 20 (WebCore::TypingCommand::deleteKeyPressed): Don't set the starting 21 selection if the editing delegate returns NO from shouldDeleteRange. 22 Notice we now call setStartingSelection in the case where 23 the current selection was a range selection. This is fine because 24 it's a no-op (the starting selection is already the current selection). 25 (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto. 26 1 27 2006-12-01 John Sullivan <sullivan@apple.com> 2 28 -
trunk/WebCore/editing/Editor.cpp
r17930 r17981 512 512 513 513 Selection newSelection(cmd->endingSelection()); 514 if (m_frame->shouldChangeSelection(newSelection)) 514 // If there is no selection change, don't bother sending shouldChangeSelection, but still call setSelection, 515 // because there is work that it must do in this situation. 516 if (newSelection == m_frame->selectionController()->selection() || m_frame->shouldChangeSelection(newSelection)) 515 517 m_frame->selectionController()->setSelection(newSelection, false); 516 518 … … 546 548 547 549 Selection newSelection(cmd->startingSelection()); 548 if (m_frame->shouldChangeSelection(newSelection)) 550 // If there is no selection change, don't bother sending shouldChangeSelection, but still call setSelection, 551 // because there is work that it must do in this situation. 552 if (newSelection == m_frame->selectionController()->selection() || m_frame->shouldChangeSelection(newSelection)) 549 553 m_frame->selectionController()->setSelection(newSelection, true); 550 554 … … 560 564 561 565 Selection newSelection(cmd->endingSelection()); 562 if (m_frame->shouldChangeSelection(newSelection)) 566 // If there is no selection change, don't bother sending shouldChangeSelection, but still call setSelection, 567 // because there is work that it must do in this situation. 568 if (newSelection == m_frame->selectionController()->selection() || m_frame->shouldChangeSelection(newSelection)) 563 569 m_frame->selectionController()->setSelection(newSelection, true); 564 570 -
trunk/WebCore/editing/TypingCommand.cpp
r17690 r17981 339 339 selectionToDelete = selectionController.selection(); 340 340 341 // setStartingSelection so that undo selects what was deleted342 if (selectionToDelete.isCaretOrRange() && granularity != CharacterGranularity)343 setStartingSelection(selectionToDelete);344 341 break; 345 342 } … … 350 347 351 348 if (selectionToDelete.isCaretOrRange() && document()->frame()->shouldDeleteSelection(selectionToDelete)) { 349 350 // setStartingSelection so that undo selects what was deleted 351 if (granularity != CharacterGranularity) 352 setStartingSelection(selectionToDelete); 353 352 354 deleteSelection(selectionToDelete, m_smartDelete); 353 355 setSmartDelete(false); … … 382 384 } 383 385 selectionToDelete = selectionController.selection(); 384 385 // setStartingSelection so that undo selects what was deleted 386 if (selectionToDelete.isCaretOrRange() && granularity != CharacterGranularity) 387 setStartingSelection(selectionToDelete); 386 388 387 break; 389 388 } … … 394 393 395 394 if (selectionToDelete.isCaretOrRange() && document()->frame()->shouldDeleteSelection(selectionToDelete)) { 395 // setStartingSelection so that undo selects what was deleted 396 if (granularity != CharacterGranularity) 397 setStartingSelection(selectionToDelete); 398 396 399 deleteSelection(selectionToDelete, m_smartDelete); 397 400 setSmartDelete(false);
Note: See TracChangeset
for help on using the changeset viewer.