<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r211382): Right-to-left text in Look Up highlight is offset horizontally"
   href="https://bugs.webkit.org/show_bug.cgi?id=169517#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r211382): Right-to-left text in Look Up highlight is offset horizontally"
   href="https://bugs.webkit.org/show_bug.cgi?id=169517">bug 169517</a>
              from <span class="vcard"><a class="email" href="mailto:mitz&#64;webkit.org" title="mitz&#64;webkit.org &lt;mitz&#64;webkit.org&gt;"> <span class="fn">mitz&#64;webkit.org</span></a>
</span></b>
        <pre>Here is a test case you can use that doesn’t depend on lookup:

&lt;style&gt;
    ::selection { color: green; }
&lt;/style&gt;
&lt;bdo id=target dir=rtl&gt;neerg si noitceleS&lt;/bdo&gt;
&lt;script&gt;
    let textNode = document.getElementById(&quot;target&quot;).firstChild;
    getSelection().setBaseAndExtent(textNode, 0, textNode, 5)
&lt;/script&gt;</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>