[Webkit-unassigned] [Bug 11089] GoogleDocs: Subscript/Superscript text isn't the correct font size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 27 11:41:07 PDT 2010


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





--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org>  2010-09-27 11:41:06 PST ---
Sorry my comment wasn't clear.  Firefox adds sub/sup elements as supposed to adding vertical-align: sub or vertical-align: super, which is what WebKit currently does.

I think Firefox's behavior is the best we can do because if we were to add font-size: small with vertical-align, we cannot tell whether the font-size is user-specified or the one assigned along with vertical-align.  We could introduce yet-another-class like WebKit-vertical-align-span to deal with this kind of situation but font-size could easily be pushed to other styles, and I don't think we can track all possible ways in which font-size can be propagated.

Modifying WebKit to always use sub/sup elements is an easy fix because we can just modify StyleChange to always extract vertical-align property regardless of the value of styleWithCSS.

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