<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 - RTL elided text selection is broken"
   href="https://bugs.webkit.org/show_bug.cgi?id=165462">165462</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>RTL elided text selection is broken
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari Technology Preview
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>macOS 10.12
          </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>ebraminio&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mmaxfield&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Testcase:
data:text/html;charset=utf8,&lt;div dir=rtl style=&quot;white-space: nowrap; width: 12em; overflow: hidden; text-overflow: ellipsis; font-size: 300%&quot;&gt;تینینقننب ب ب ل ل ب ملنثخبنب ب ب بپقمقخمق

Try to select a word by double click or highlight some part of the text

This bug is similar to this bug <a href="http://crbug.com/550437">http://crbug.com/550437</a> I've reported against Chrome.

Expected:
Highlighting would work on elided text

Actual:
It is highlighting somewhere else.</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>