<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@webkit.org" title="mitz@webkit.org <mitz@webkit.org>"> <span class="fn">mitz@webkit.org</span></a>
</span></b>
<pre>Here is a test case you can use that doesn’t depend on lookup:
<style>
::selection { color: green; }
</style>
<bdo id=target dir=rtl>neerg si noitceleS</bdo>
<script>
let textNode = document.getElementById("target").firstChild;
getSelection().setBaseAndExtent(textNode, 0, textNode, 5)
</script></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>