Bug 146907

Summary: Arabic text does not shape properly when split into <span>'s
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mmaxfield, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

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 ***