[Webkit-unassigned] [Bug 44208] Multi-character and some Unicode <mi>s italic in WebKit but not Firefox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 6 05:45:38 PST 2014


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


Frédéric Wang <fred.wang at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |fred.wang at free.fr
                   |kit.org                     |
 Attachment #223326|                            |review?
               Flag|                            |




--- Comment #6 from Frédéric Wang <fred.wang at free.fr>  2014-02-06 05:42:58 PST ---
Created an attachment (id=223326)
 --> (https://bugs.webkit.org/attachment.cgi?id=223326&action=review)
Patch V1

This patch fixes the most important situation (testcase and referenced URL) with multi-char vs sing-char mi.

There are some known issues (cf tests):

- things like <mi mathvariant="normal">x</mi> seems to produce the wrong spacing (or width?)
- some dynamically created content are not italicized

Since the WebKit's spacing is currently poor and since there are issues with dynamic updates, I think we can ignore these issues for now. Actually this is part of bug 124838 which prepares for the operator dictionary and further improvements ; so it might be worth taking this small piece and get feedback on it now rather than working on the big patch which seems to scare potential reviewers.

Note that instead of CSS style this should rather do some code point remapping inside the text rendering code. However, it's ok for now: Gecko has used that approximation for a long time (see https://bugzilla.mozilla.org/show_bug.cgi?id=114365 and https://bugzilla.mozilla.org/show_bug.cgi?id=930504) and MathJax does not implement mi/mathvariant properly.

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