[Webkit-unassigned] [Bug 6148] WebKit doesn't shape characters (like Arabic) across style changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 08:17:41 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=6148





--- Comment #16 from Dermot Rourke <dermot_rourke at yahoo.com>  2012-05-09 08:16:44 PST ---
Just checking in to see if any progress has been made?

A colleague of mine found a temporary work-around that may be useful to some developers in some scenarios - using the zero-width-joiner (‍/‍) will force the letters to join (or, at least, appear joined).  Of course, it's not ideal as you'll need to test for the browser and insert them on page load (or something along those lines).  Also, it does not work for every situation - in the example in comment #12 above, the css selector fails.  The code would look something like:

<!DOCTYPE HTML>
<html>
<head>
<meta charset=utf8>
<style type="text/css">
p:first-letter { color: red; }
p, div { font-family: times new roman; font-size: x-large; }
</style>
</head>
<body>
The two arabic letters should appear like عر but they really show as
<p>‍عر</p>
and
<div><span>ع‍</span>ر</div>
</body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list