[Webkit-unassigned] [Bug 250969] New: RTL Tab handling is imperfect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 22 03:26:03 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250969

            Bug ID: 250969
           Summary: RTL Tab handling is imperfect
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ebrahim at gnu.org
                CC: mmaxfield at apple.com

Created attachment 464591

  --> https://bugs.webkit.org/attachment.cgi?id=464591&action=review

Safari vs Firefox

Happens both in WebKit tip of tree and stable 16.2,

Reproduce:
Compare this in Safari, Chrome and Firefox

data:text/html;charset=utf8,<textarea id=textArea style="font-size: 40px; width: 1000px; font-family: Tahoma" dir=rtl></textarea><script>var i = 0; setInterval(() => { i = (i + 1) % 8; textArea.innerText = 'ش\t'.repeat(i); textArea.select() }, 1000);</script>

Note the inserted characters position, Safari apparently isn't able to handle tab in RTL correctly.

It can be seen in the attached screenshot also, distribution of spaces between letter isn't correct, the first letter is out of view.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230122/cda99130/attachment.htm>


More information about the webkit-unassigned mailing list