<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 - Selection has extra ClientRects at the end/beginning of some lines"
   href="https://bugs.webkit.org/show_bug.cgi?id=148532">148532</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Selection has extra ClientRects at the end/beginning of some lines
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari 9
          </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>Text
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>steve&#64;suncitydesign.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=260069" name="attach_260069" title="Repro">attachment 260069</a> <a href="attachment.cgi?id=260069&amp;action=edit" title="Repro">[details]</a></span>
Repro

Steps to reproduce:

1. Open this page in Safari: <a href="https://jsfiddle.net/3s6rpy8r/embedded/result/">https://jsfiddle.net/3s6rpy8r/embedded/result/</a>
2. Click the 'C' in the contenteditable region
3. Tap the RIGHT keyboard arrow key repeatedly to move the caret through the text
4. Notice when the caret is at the end of a line the ClientRects length is 2 (doesn't happen on the last line)
5. Notice when the caret is at the start of a line the ClientRects length is 2 (doesn't happen on the first line)</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>