Last modified: 2014-04-29 15:22:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57555, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55555 - <sub> Subscripts displayed too low in Firefox
<sub> Subscripts displayed too low in Firefox
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 10:44 UTC by Thorsten
Modified: 2014-04-29 15:22 UTC (History)
3 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot from test2 (161.04 KB, image/png)
2013-10-10 13:13 UTC, Andre Klapper
Details

Description Thorsten 2013-10-10 10:44:12 UTC
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)
Comment 1 Andre Klapper 2013-10-10 13:13:38 UTC
Created attachment 13470 [details]
Screenshot from test2

Thanks for forwarding this to Bugzilla. I cannot reproduce the problem on Firefox 24 on Fedora 19, see screenshot.
Comment 2 Thorsten 2013-10-10 14:09:34 UTC
Screenshot of Firefox 24 compared to IE 10: https://upload.wikimedia.org/wikipedia/de/7/7d/Tiefstellung.png
Comment 3 Thorsten 2013-10-10 18:55:56 UTC
And one more with the code from above (M<sub>M</sub>M):
https://upload.wikimedia.org/wikipedia/de/f/f0/Wiki_Problem_Tiefstellung_sub_W7_FF24.png
Comment 4 Andre Klapper 2013-10-11 15:01:58 UTC
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
Comment 5 Bartosz Dziewoński 2013-10-11 15:07:27 UTC
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?
Comment 6 entlinkt 2013-10-12 19:03:12 UTC
(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.
Comment 7 Bartosz Dziewoński 2013-10-12 20:39:00 UTC
Sounds like a Firefox bug, then?
Comment 8 entlinkt 2013-10-18 21:45:05 UTC
(In reply to comment #7)
> Sounds like a Firefox bug, then?

Some Mozilla bugs related to sub/sup positioning:

* https://bugzilla.mozilla.org/show_bug.cgi?id=225109
* https://bugzilla.mozilla.org/show_bug.cgi?id=227452
Comment 9 Andre Klapper 2013-11-08 15:22:52 UTC
Does anybody still see this issue with a recent Firefox version (like 25)?
Comment 10 Thorsten 2013-11-09 18:54:32 UTC
Still the same with Firefix 25.0 (still looks like in version 24: https://upload.wikimedia.org/wikipedia/de/f/f0/Wiki_Problem_Tiefstellung_sub_W7_FF24.png).
Comment 11 Andre Klapper 2013-11-10 18:56:33 UTC
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.
Comment 12 Erwin Dokter 2014-04-29 15:22:35 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links