Changeset 53068 in webkit


Ignore:
Timestamp:
Jan 11, 2010 1:20:54 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-11 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

Have "Paste and Match Style" fire the dom paste event.
https://bugs.webkit.org/show_bug.cgi?id=30639

  • editing/execCommand/paste-and-match-style-event.html: Added.

2010-01-11 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

Have "Paste and Match Style" fire the dom paste event.
https://bugs.webkit.org/show_bug.cgi?id=30639

Test: editing/execCommand/paste-and-match-style-event.html

  • editing/Editor.cpp: (WebCore::Editor::pasteAsPlainText):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r53065 r53068  
     12010-01-11  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Have "Paste and Match Style" fire the dom paste event.
     6        https://bugs.webkit.org/show_bug.cgi?id=30639
     7
     8        * editing/execCommand/paste-and-match-style-event.html: Added.
     9
    1102010-01-10  Daniel Bates  <dbates@webkit.org>
    211
  • trunk/WebCore/ChangeLog

    r53067 r53068  
     12010-01-11  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Have "Paste and Match Style" fire the dom paste event.
     6        https://bugs.webkit.org/show_bug.cgi?id=30639
     7
     8        Test: editing/execCommand/paste-and-match-style-event.html
     9
     10        * editing/Editor.cpp:
     11        (WebCore::Editor::pasteAsPlainText):
     12
    1132010-01-10  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/WebCore/editing/Editor.cpp

    r52542 r53068  
    10781078void Editor::pasteAsPlainText()
    10791079{
     1080    if (tryDHTMLPaste())
     1081        return;
    10801082    if (!canPaste())
    10811083        return;
Note: See TracChangeset for help on using the changeset viewer.