Page MenuHomePhabricator

Long comments in the file history break the layout
Open, MediumPublic

Description

See the example. You can suddenly scroll to the right, when you shouldn't.


URL: http://commons.wikimedia.org/wiki/File:Emblema_de_la_Terra_Alta_svg.png

Details

Reference
bz25316

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:18 PM
bzimport set Reference to bz25316.
bzimport added a subscriber: Unknown Object (MLST).

Applying the word-wrap property could fix that: http://www.w3.org/TR/css3-text/#word-wrap
This would need a width specified though

Could you pls add a screenshot? It looks fine for me in Firefox 4 beta 6.

Screenshot of the problem

Happens more frequently with smaller windows

Attached:

DownloadedFile.png (796×1 px, 123 KB)

You need a width first yes. Thing is, there already is a width. The problem is that tables however grow depending on their contents. That overrides word-wrap settings (at least in my tests with Webkit. Unless we use a fixed width in ems for the entire table or column (not desirable in my opinion), or if we don't use a table, i'm not sure if this can be fixed...