[Webkit-unassigned] [Bug 240277] New: Highlighting Sliding Issue With Arabic in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 10 07:17:07 PDT 2022


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

            Bug ID: 240277
           Summary: Highlighting Sliding Issue With Arabic in Safari
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ayyildizabdurrahman at gmail.com

Created attachment 459117

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

Safari has renders JavaScript differently so that unified letter لا which consists from two letters ل+ا highlighted twice in ل at true position ا  at next character's position(false)

Selam, thanks to this extension( https://github.com/lonekorean/highlight-within-textarea ) it was really helpful for my project: https://muqattacounter.github.io but I have issues with Safari...

It has renders JavaScript differently so that unified letter لا (LamElif) which consists from two letters ل+ا (Lam + Elif) highlighted twice in ل at true position and ا at next character's position(false):

https://i.stack.imgur.com/x44TN.png

Because of this sliding issue all the next highlights becomes increasingly more false(more slided) as new لا unified letters comes in at next characters... And end result is this:

https://i.stack.imgur.com/itwMD.jpg

Firefox can separately highlight this two letters from middle(**which is desired**):

https://i.stack.imgur.com/4OFIZ.png

Can you render js files like Firefox about this issue?

-- 
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/20220510/9db537a9/attachment.htm>


More information about the webkit-unassigned mailing list