Page MenuHomePhabricator

<sub> Subscripts displayed too low in Firefox
Closed, InvalidPublic

Description

At least in Firefox 24, there seems to be a new behaviour in displaying subscripts: The baseline of normal characters is on the same height as the topline of subscripts.

Example: M<sub>M</sub>M

(this was reported on dewiki: https://de.wikipedia.org/wiki/WP:FZW#Tiefstellung)


Version: 1.22.0
Severity: normal

Details

Reference
bz55555

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:23 AM
bzimport set Reference to bz55555.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 13470
Screenshot from test2

Thanks for forwarding this to Bugzilla. I cannot reproduce the problem on Firefox 24 on Fedora 19, see screenshot.

Attached:

55555.png (612×1 px, 161 KB)

Mabschaaf tested numerous combinations on de.wp but no clear pattern can be seen:

PC 1: Win7 Pro  SP1, FF24, Monobook: wrong
PC 1: Win7 Pro  SP1, FF24, Vector:   wrong
PC 3: Win7 Home SP1, FF24, Monobook: wrong
PC 3: Win7 Home SP1, FF24, Vector:   wrong
PC 2: Win7 Home SP1, FF24, Monobook: correct
PC 2: Win7 Home SP1, FF24, Vector:   correct
PC 4: Win7 Home SP1, FF24, Monobook: correct
PC 4: Win7 Home SP1, FF24, Vector:   correct

Is this reproducible on non-MediaWiki non-Wikipedia pages? That is, if you create a text file with "M<sub>M</sub>M" as the content, save it with a .html extension and view on an affected machine, does it display correctly?

(In reply to comment #5)

Is this reproducible on non-MediaWiki non-Wikipedia pages?

Apparently yes, see [[de:File:Wiki Test Tiefstellung W7 1600x900 FF24-IE9-GC30.png]].

We have already tried workarounds such as

sup,
sub {

line-height: 0;

}

(also with values "1", "normal" and "inherit" instead of "0") without success.

Sounds like a Firefox bug, then?

(In reply to comment #7)

Sounds like a Firefox bug, then?

Some Mozilla bugs related to sub/sup positioning:

Does anybody still see this issue with a recent Firefox version (like 25)?

Still cannot reproduce with https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia/Archiv/2013/Woche_41#Tiefstellung and Firefox 25 on Fedora.

Wondering if this is operation system (and related default fonts) specific.

Also wondering about trying Safe Mode (Safe Mode disables extensions and themes, hardware acceleration and some JavaScript stuff in order to exclude some possible reasons for problems. It does not disable plugins which are add-ons; see http://support.mozilla.com/en-US/kb/Safe+Mode ) and a new and empty profile ( http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile and http://support.mozilla.org/kb/Managing%20profiles ), but that feels extremely unlikely to me.

I am throwing this on a combination of Win/Firefox/DirectWrite.

Since MediaWiki CSS cannot fix Firefox handles fonts, I'm closing this as invalid.