[Webkit-unassigned] [Bug 151300] New: Backwards delete by word incorrectly appends deleted text to kill ring, should be prepend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 15 21:42:31 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151300

            Bug ID: 151300
           Summary: Backwards delete by word incorrectly appends deleted
                    text to kill ring, should be prepend
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: ap at webkit.org, darin at apple.com, joepeck at webkit.org,
                    rniwa at webkit.org

SUMMARY:

Backward text deletions should prepend the deleted text to the kill ring, but instead it appends. Yanking the kill sequence results in the wrong yank text since it was added in the wrong order.

STEPS TO REPRODUCE:

 * Add the text '123 456' to a contenteditable or form element.
 * Move caret to | position: '123 456|'
 * Backwards delete-by-word twice (on Mac Safari, Option-Delete)
 * Yank (on Mac Safari, Ctrl-Y)

EXPECTED:

* yanked text should be the original text, '123 456'

ACTUAL:

* yanked text is actually '456123 '

NOTES:

This seems to be a really really old bug, which was discovered while removing an apparently unused argument in https://bugs.webkit.org/show_bug.cgi?id=151157.
When deleting backwards / leftwards, the killed text should be prepended instead of appended to the kill ring.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151116/a5f9783b/attachment.html>


More information about the webkit-unassigned mailing list