Page MenuHomePhabricator

Too small width of TOC in Firefox on Android
Closed, DuplicatePublic

Description

Author: dannie92

Description:
The table of contents list renders poorly in Firefox on Android.

Here is a screenshot of the article The Wolf of Wall Street (2013 film), https://en.wikipedia.org/wiki/The_Wolf_of_Wall_Street_(2013_film): http://i.imgur.com/gVYcEri.png

Here is a screenshot from one of the articles on Wikipedia's testing site https://test2.wikipedia.org/wiki/Argentina: http://i.imgur.com/vIhqSh6.png

The list items should probably utilize the width of the page better.

The screenshots were taken in Firefox Aurora on CyanogenMod 11 on Nexus 7 (2012). However, I remember experiencing the same thing in the regular Android that came pre-installed on the tablet.


Version: 1.24rc
Severity: enhancement
OS: other
Platform: Tablet PC
See Also:
https://bugzilla.mozilla.org/show_bug.cgi?id=961726

Details

Reference
bz66314

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:24 AM
bzimport set Reference to bz66314.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

Which Firefox version is this? Which hardware and Android version? In general I wonder whether this shouldn't pick up the mobile frontend instead...

dannie92 wrote:

Firefox Aurora, version 31. It renders in the same way in the latest stable version of Firefox, version 29. However, it has been like this for at least several months, perhaps longer (can't remember).

The browser's user agent is:

Mozilla/5.0 (Android; Tablet; rv:31.0) Gecko/31.0 Firefox/31.0

I changed the user agent on my desktop to strings from http://www.webapps-online.com/online-tools/user-agent-strings/dv/operatingsystem51849/ios; an iPad user agent string results in the regular page while iPhone results in a 302 redirect to the mobile version. For example to https://test2.m.wikipedia.org/wiki/Argentina. So I assume it's the correct behavior to also display the regular version of Wikipedia on an Android tablet.

dannie92 wrote:

Apparently this issue has already been reported on Mozilla's issue tracker:

Table layout is not displayed correctly on Wikipedia https://bugzilla.mozilla.org/show_bug.cgi?id=961726

Perhaps the bug is in Firefox's rendering engine on Android rather than in Wikipedia's layout.