Page MenuHomePhabricator

Floated tables cause problems in FireFox
Closed, ResolvedPublic

Description

Author: admin

Description:
The Hebrew Wiktionary uses MediaWiki v1.7alpha (r14541).

When an article has a table with the float style property all text (besides the titles)
is moved to the opposite float direction. I have translated a page to English in order
to demonstrate this phenomenon:

http://he.wiktionary.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:%D7%92%D7%99%D7%90/FFBug

Since the Hebrew Wiktionary is RTL, the table (which is actually a translated templated)
is floated to the left. As a result, the text appears out of its boundaries and
overrides the menus. Using <div style="float: right;"> right after the table, in order
to float the text, solves the problem in a minority of the cases (if the article
contains a picture, for example, the problem persists). If we clear the float
using "clear: both" the text stays within its boundaries but appears below the floated
table, and this is now what we need.

It should be noted that this and similar tables are working on the Hebrew Wikipedia,
which uses the exact same MediaWiki version. Because of that, it is not clear why the
problem occurrs. As the summary suggests, the problem does not appear on IE.

I would appreciate any input.

Scarlight


Version: 1.7.x
Severity: major
OS: Windows XP
Platform: PC
URL: http://he.wiktionary.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:%D7%92%D7%99%D7%90/FFBug

Details

Reference
bz6221

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:16 PM
bzimport set Reference to bz6221.
bzimport added a subscriber: Unknown Object (MLST).

admin wrote:

No one cares? This makes the Hebrew Wiktionary unreadable for FireFox users because
almost all articles contain a floated table.

  1. Report the bug to Mozilla at http://bugzilla.mozilla.org/
  1. Consider a different layout for the tables until a fix to

Mozilla comes some time in the next several years.

admin wrote:

Thank you for the reply. What different layout do you suggest?

I can't understand why it doesn't happen with the exact same table in the Hebrew
Wikipedia. What does it have that Wiktionary doesn't?

admin wrote:

Hmm. I may have solved it, but I'm still having troubles with the images. Is there
a way to change the CSS properties of the [[Image:]] tag?

admin wrote:

*** This bug has been marked as a duplicate of 2020 ***