1. 21 May, 2010 1 commit
    • tony@chromium.org's avatar
      2010-05-20 Tony Chang <tony@chromium.org> · 638815b8
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/pasteboard/drop-link-expected.txt: Added.
              * editing/pasteboard/drop-link.html:
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.txt: Removed.
      2010-05-20  Tony Chang  <tony@chromium.org>
      
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/markup.cpp:
              (WebCore::urlToMarkup):
              * editing/markup.h:
              * platform/chromium/ClipboardUtilitiesChromium.cpp:
              * platform/chromium/ClipboardUtilitiesChromium.h:
              * platform/win/ClipboardUtilitiesWin.cpp:
              * platform/win/ClipboardUtilitiesWin.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      638815b8
  2. 02 Nov, 2006 1 commit
    • ggaren's avatar
      LayoutTests: · f38d7c7b
      ggaren authored
              Reviewed by Justin Garcia.
              
              Used a PERL script to add calls to opt into dumping of editing callbacks
              in all editing tests that didn't do so already. This is required now that 
              dumping of editing callbacks is opt-in.
              
              Updated editing.js so that any test that calls runEditingTest() opt into
              dumping of editing callbacks.
              
              Updated results in all non-editing tests to remove dumping of editing callbacks.
              
              Updated results in all editing tests to reflect minor DOM changes due to new
              <script> elements.
              
              [ many tests and results modified ]
      
      WebKitTools:
      
              Reviewed by Justin Garcia.
              
              Made dumping of editing callbacks opt-in, so that editing spew doesn't 
              cloud non-editing tests.
      
              * DumpRenderTree/DumpRenderTree.m:
              (+[LayoutTestController isSelectorExcludedFromWebScript:]):
              (-[LayoutTestController shouldDumpEditingCallbacks]):
              (runTest):
              * DumpRenderTree/EditingDelegate.m:
              (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
              (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
              (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
              (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
              (-[EditingDelegate webView:shouldDeleteDOMRange:]):
              (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
              (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
              (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
              (-[EditingDelegate webViewDidBeginEditing:]):
              (-[EditingDelegate webViewDidChange:]):
              (-[EditingDelegate webViewDidEndEditing:]):
              (-[EditingDelegate webViewDidChangeTypingStyle:]):
              (-[EditingDelegate webViewDidChangeSelection:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f38d7c7b
  3. 09 May, 2006 1 commit
    • lweintraub's avatar
      LayoutTests: · 4682bc94
      lweintraub authored
              Reviewed by justin.
      
              <rdar:/problem/4442395>
              Tiny MCE: Link isn't inserted after dragging into textarea field
              Created tests to test drag-and-dropped links.
              
              * editing/pasteboard/drop-link-expected.checksum: Added.
              * editing/pasteboard/drop-link-expected.png: Added.
              * editing/pasteboard/drop-link-expected.txt: Added.
              * editing/pasteboard/drop-link.html: Added.
      
      WebKit:
      
              Reviewed by justin.
      
              <rdar://problem/4442395>
              Tiny MCE: Link isn't inserted after dragging into textarea field
              
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _documentFragmentFromPasteboard:allowPlainText:chosePlainText:]):
              Modified to create an anchor object with a title as opposed to just the URL as text.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4682bc94