New issue
Advanced search Search tips

Issue 625857 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 6122
Owner: ----
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Arabic word renders incorrectly when partially linked

Reported by ejsand...@gmail.com, Jul 5 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Example URL:
https://ar.wikipedia.org/w/index.php?title=%D9%87%D9%85%D8%A9&oldid=19434501

Steps to reproduce the problem:
Visit the linked page and observe the fourth word of the article: القصد, note that it renders more like ال قصد due to the rightmost two characters not being part of the link (they are the definite article: https://en.wikipedia.org/wiki/Arabic_definite_article )

What is the expected behavior?
A partially linked word should render identically to an unlinked version (but for the colour change), provided the link styling does not change the shape of the text (e.g. bold or italics).

What went wrong?
القصد changed to something more like ال قصد (without the space) when the only one part is wrapped in a link tag.

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: 51.0.2704.106  Channel: stable
OS Version: 4.2
Flash Version: Shockwave Flash 22.0 r0

This is not broken in Firefox.
 
This will also happen in any font that uses grapheme clusters, although the examples below are less realistic:

Malayalam: <a>ചന്ദ്രക്</a>കല

Combining acute accent: <a>e</a>&#769;

In both of the above cases the cluster is split in Chrome but preserved in Firefox.

Comment 2 Deleted

Comment 3 by ebra...@gnu.org, Jul 5 2016

Mergedinto: 6122
Status: Duplicate (was: Unconfirmed)

Comment 4 Deleted

Sign in to add a comment