-
rdar://problem/8093680adele@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=41085 Reviewed by Eric Carlson. * WebView/WebHTMLView.mm: (-[WebHTMLView pasteAsPlainText:]): Reuse code in WebCore which does everything done here and also fires paste events. WebKitTools: DumpRenderTree part of testing <rdar://problem/8093680> "Paste and Match Style" should fire paste events https://bugs.webkit.org/show_bug.cgi?id=41085 Reviewed by Eric Carlson. * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebViewToConsistentStateBeforeTesting): Clear the general pasteboard in between tests so Cut,Copy, and setData on ClipboardData won't have lasting effects. LayoutTests: Test for <rdar://problem/8093680> "Paste and Match Style" should fire paste events https://bugs.webkit.org/show_bug.cgi?id=41085 Reviewed by Eric Carlson. * platform/mac/editing/pasteboard/paste-and-match-style-selector-event-expected.txt: Added. * platform/mac/editing/pasteboard/paste-and-match-style-selector-event.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ff6ff5b8