Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2011-05-12 Chang Shu <cshu@webkit.org>
Reviewed by Csaba Osztrogonác. [Qt] Rebaseline editing/pasteboard tests that are working https://bugs.webkit.org/show_bug.cgi?id=60707 * platform/qt/Skipped: * platform/qt/editing/pasteboard/4076267-2-expected.png: Added. * platform/qt/editing/pasteboard/4076267-2-expected.txt: Added. * platform/qt/editing/pasteboard/4076267-expected.png: Added. * platform/qt/editing/pasteboard/4076267-expected.txt: Added. * platform/qt/editing/pasteboard/4806874-expected.png: Added. * platform/qt/editing/pasteboard/4806874-expected.txt: * platform/qt/editing/pasteboard/5387578-expected.png: Added. * platform/qt/editing/pasteboard/5387578-expected.txt: * platform/qt/editing/pasteboard/bad-placeholder-expected.png: Added. * platform/qt/editing/pasteboard/bad-placeholder-expected.txt: * platform/qt/editing/pasteboard/block-wrappers-necessary-expected.png: Added. * platform/qt/editing/pasteboard/block-wrappers-necessary-expected.txt: * platform/qt/editing/pasteboard/input-field-1-expected.png: Added. * platform/qt/editing/pasteboard/input-field-1-expected.txt: * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Added. * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt: * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Added. * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt: * platform/qt/editing/pasteboard/paste-text-008-expected.png: Added. * platform/qt/editing/pasteboard/paste-text-008-expected.txt: Added. * platform/qt/editing/pasteboard/smart-paste-008-expected.png: Added. * platform/qt/editing/pasteboard/smart-paste-008-expected.txt: Added. Canonical link: https://commits.webkit.org/76031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
28ae847
commit 19604e5
Showing
24 changed files
with
453 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
LayoutTests/platform/qt/editing/pasteboard/4076267-2-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
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: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 96 of #text > DIV > DIV > BODY > HTML > #document | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | ||
EDITING DELEGATE: shouldInsertText:there should be a single trailing space between the '.' and the last character in this sentence replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 96 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 96 of #text > DIV > DIV > BODY > HTML > #document to 96 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 {P} at (0,0) size 784x22 | ||
RenderText {#text} at (0,0) size 407x22 | ||
text run at (0,0) width 407: "This tests to see if trailing spaces are lost during a copy/paste" | ||
RenderBlock {HR} at (0,38) size 784x2 [border: (1px inset #000000)] | ||
RenderBlock {DIV} at (0,48) size 784x30 [border: (2px solid #FFAAAA)] | ||
RenderBlock {DIV} at (2,2) size 780x26 [border: (2px solid #AAAAFF)] | ||
RenderText {#text} at (2,2) size 618x22 | ||
text run at (2,2) width 618: "there should be a single trailing space between the '.' and the last character in this sentence ." | ||
caret: position 96 of child 0 {#text} of child 1 {DIV} of child 5 {DIV} of body |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions
34
LayoutTests/platform/qt/editing/pasteboard/4076267-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 56 of #text > DIV > DIV > BODY > HTML > #document | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | ||
EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 1 of #text > DIV > DIV > BODY > HTML > #document | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
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: shouldInsertText: this text should have a single leading space before it replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted | ||
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification | ||
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 55 of #text > DIV > DIV > BODY > HTML > #document to 55 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 {P} at (0,0) size 784x22 | ||
RenderText {#text} at (0,0) size 407x22 | ||
text run at (0,0) width 407: "This tests to see if leading spaces are lost during a copy/paste" | ||
RenderBlock {HR} at (0,38) size 784x2 [border: (1px inset #000000)] | ||
RenderBlock {DIV} at (0,48) size 784x22 | ||
RenderBlock {DIV} at (0,0) size 784x22 | ||
RenderText {#text} at (0,0) size 350x22 | ||
text run at (0,0) width 350: " this text should have a single leading space before it" | ||
caret: position 55 of child 0 {#text} of child 1 {DIV} of child 5 {DIV} of body |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+23.7 KB
LayoutTests/platform/qt/editing/pasteboard/bad-placeholder-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+50.3 KB
LayoutTests/platform/qt/editing/pasteboard/block-wrappers-necessary-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.