Bug 146907 - Arabic text does not shape properly when split into <span>'s
Summary: Arabic text does not shape properly when split into <span>'s
Status: RESOLVED DUPLICATE of bug 6148
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-13 11:22 PDT by Said Abou-Hallawa
Modified: 2015-07-13 13:51 PDT (History)
4 users (show)

See Also:


Attachments
test case (92 bytes, text/html)
2015-07-13 11:22 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2015-07-13 11:22:41 PDT
Created attachment 256707 [details]
test case

Open the attached test case and compare the first and the second paragraphs.

Result: The second paragraph is shaped in two different passes as if they are separate runs. So the last character of the first run has a "final" shape and the first character of the second run has an "initial" shape.

This bug is similar to https://bugs.webkit.org/show_bug.cgi?id=6148 but this one is way more important. It hits millions of Facebook users very often when part of the text is hidden and its visibility is controlled by "See more..." link. Once the link is clicked, the other span is visible and the bug is reproducible.

NOTE: It is reproducible in Chrome bug fixed in FireFox.
Comment 1 Radar WebKit Bug Importer 2015-07-13 11:52:21 PDT
<rdar://problem/21797428>
Comment 2 Myles C. Maxfield 2015-07-13 13:51:01 PDT

*** This bug has been marked as a duplicate of bug 6148 ***