<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Backwards delete by word incorrectly appends deleted text to kill ring, should be prepend"
   href="https://bugs.webkit.org/show_bug.cgi?id=151300">151300</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Backwards delete by word incorrectly appends deleted text to kill ring, should be prepend
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Editing
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bburg&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>ap&#64;webkit.org, darin&#64;apple.com, joepeck&#64;webkit.org, rniwa&#64;webkit.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: yank/kill shortcuts (CTRL+Y, K) don't work in Console / QuickConsole"
   href="show_bug.cgi?id=151157">https://bugs.webkit.org/show_bug.cgi?id=151157</a>.
When deleting backwards / leftwards, the killed text should be prepended instead of appended to the kill ring.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>