LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Oct 2006 23:28:49 +0000 (23:28 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Oct 2006 23:28:49 +0000 (23:28 +0000)
commitc56d2db40f5fe3ca14907ff637ad4204a5b03e02
tree5496db5186f0aacd0fe54574bf5a516ce6aba960
parented6528f8fb926dbddf692ed8015a5687aa86ee34
LayoutTests:

        Reviewed by harrison

        * editing/execCommand/paste-1-expected.checksum: Added.
        * editing/execCommand/paste-1-expected.png: Added.
        * editing/execCommand/paste-1-expected.txt: Added.
        * editing/execCommand/paste-1.html: Added.
        * editing/execCommand/paste-2-expected.checksum: Added.
        * editing/execCommand/paste-2-expected.png: Added.
        * editing/execCommand/paste-2-expected.txt: Added.
        * editing/execCommand/paste-2.html: Added.

WebKit:

        Reviewed by harrison

        execCommand("Cut"/"Copy"/"Paste") broken in editable subframes.

        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge issueCutCommand]): Issue the command on the WebHTMLView, not the WebView.
        (-[WebFrameBridge issueCopyCommand]): Ditto.
        (-[WebFrameBridge issuePasteCommand]): Ditto.
        (-[WebFrameBridge issuePasteAndMatchStyleCommand]): Ditto.
        (-[WebFrameBridge issueTransposeCommand]): Fixed formatting.
        (-[WebFrameBridge canPaste]): Ask the WebHTMLView, not the WebView.
        * WebView/WebHTMLView.m:
        (-[WebHTMLView copy:]): Moved to WebInternal
        (-[WebHTMLView cut:]): Ditto.
        (-[WebHTMLView paste:]): Ditto.
        (-[WebHTMLView pasteAsPlainText:]): Ditto.
        * WebView/WebHTMLViewInternal.h:
        * WebView/WebView.m: Removed the now unused _canPaste.
        * WebView/WebViewInternal.h: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/paste-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-1-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-1.html [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-2-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/paste-2.html [new file with mode: 0644]
WebKit/ChangeLog
WebKit/WebCoreSupport/WebFrameBridge.m
WebKit/WebView/WebHTMLView.m
WebKit/WebView/WebHTMLViewInternal.h
WebKit/WebView/WebView.m
WebKit/WebView/WebViewInternal.h