New issue
Advanced search Search tips

Issue 837574 link

Starred by 4 users

Issue metadata

Status: Duplicate
Merged: issue 6122
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Arabic requires zero-width-joiners for joining

Reported by mustafa...@gmail.com, Apr 27 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36

Example URL:

Steps to reproduce the problem:
Place HTML tags within an Arabic word.

What is the expected behavior?
The letters of the word should be joined.

What went wrong?
The letters of the word are separate; adding ZWJs is necessary to join them. Even adding ZWJs isn't a full resolution, as ligatures aren't used then.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 66.0.3359.117  Channel: stable
OS Version: OS X 10.13.3
Flash Version: 

Here's a small discussion on this issue: https://twitter.com/KhaledGhetas/status/989311667682119681

Adding ZWJs per se isn't an an issue, but:
 - it's much easier to not add them
 - adding them doesn't render ligatures properly, like ألا
 - Firefox (and Edge, reportedly) don't need them.

Coloring parts of Arabic words is a often needed feature, like highlighting matches, adding tajweed coloring to the Qur'an (open muqri.com, click play, and click on the ت), and so on.

Canary (68.0.3409.2) behaves the same as Stable.
 
broken-on-chrome.jpg
3.9 KB View Download
correct-on-firefox.jpg
3.0 KB View Download
joined-but-not-as-a-ligature.jpg
2.9 KB View Download
Labels: Needs-Triage-M66
Cc: susan.boorgula@chromium.org
Labels: Needs-Feedback Triaged-ET
mustafa.0x@ Thanks for the issue.

Tried testing this issue On Mac OS 10.12.6 and Windows 10 on the reported version 66.0.3359.117 and the latest Canary 68.0.3414.0 by pasting the code snippet into a html file given in the twitter link(لِيَسُ<span class="madd-wajib">ۥٓ</span>ءُوا۟), but unable to reproduce the issue.

Request you to provide a sample html where this issue can be reproduced which will help in further triaging.

Thanks..
Well, here's a simpler example:

ت<span style="color: red">جر</span>بة

Chrome 66.0.3359.139
Canary 68.0.3414.0
canary-68.png
11.8 KB View Download
chrome-66.png
12.0 KB View Download
firefox-59.png
11.6 KB View Download
broken-arabic-test-case.html
372 bytes View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 30 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by e...@chromium.org, Apr 30 2018

Mergedinto: 6122
Status: Duplicate (was: Unconfirmed)
This will be fixed by LayoutNG and is tracked in issue 6122.

Sign in to add a comment