<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Arabic text does not shape properly when split into <span>'s"
href="https://bugs.webkit.org/show_bug.cgi?id=146907">146907</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Arabic text does not shape properly when split into <span>'s
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Text
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sabouhallawa@apple.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=256707" name="attach_256707" title="test case">attachment 256707</a> <a href="attachment.cgi?id=256707&action=edit" title="test case">[details]</a></span>
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 <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebKit doesn't shape characters (like Arabic) across style changes"
href="show_bug.cgi?id=6148">https://bugs.webkit.org/show_bug.cgi?id=6148</a> 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>