[Webkit-unassigned] [Bug 129097] Bad spacing around <mi> token elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 20 23:58:20 PST 2014


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bad preferred width for     |Bad spacing around <mi>
                   |<mi> token elements         |token elements
         AssignedTo|fred.wang at free.fr           |webkit-unassigned at lists.web
                   |                            |kit.org
             Blocks|124838                      |




--- Comment #2 from Frédéric Wang <fred.wang at free.fr>  2014-02-20 23:55:30 PST ---
I just checked again and actually I think my first comment was wrong. The problem is that mathml.css has some CSS rules to emulate italic correction:

mi {
    -webkit-padding-end: 0.1em;
}
msub > mi:first-child, msubsup > mi:first-child {
    -webkit-padding-end: 0;
}
msubsup > mi:first-child + * + * {
    -webkit-margin-start: 0.14em; /* This is larger than 0.1em because the child's font-size is smaller than the <msubsup>'s. */
}

but these rules should only apply when mi is italic and probably for other italic token elements too. So it's probably best to wait we can do proper implementation of italic correction in the renderer code.

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