Open GoogleCodeExporter opened 9 years ago
I should add: the reason the expected behavior isn't desired is because sup/sub
also change font size, while vertical-align by itself does not. This means
that if superscript/subscript produce <span style="vertical-align: ..."> in CSS
mode, it won't match the behavior in non-CSS mode, which is a bug. Users
expect sup/sub to make the text smaller too. And if we tried to make it add
font-size as well as vertical-align, we'd open a can of worms, because when
removing styles we'd have to figure out whether font-size was added by
superscript/subscript or something else. And finally, the motivation for
styleWithCSS mode is better standards conformance, but <sub>/<sup> are valid in
all HTML standards I'm aware of, even XHTML2 (which removes /<i>/etc.).
Original comment by Simetrical
on 15 Apr 2012 at 7:16
Original issue reported on code.google.com by
Simetrical
on 15 Apr 2012 at 7:11